Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 111.7 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002632/0.002632, allocations: 209.5 kB / 23 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 207.6 MB / 233.8 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.25 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 71.91 kB / 467.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1301, allocations: 61.03 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004055/0.1342, allocations: 1.871 MB / 0.518 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1359, allocations: 0.9207 MB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1361, allocations: 7.938 kB / 0.5189 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.1365, allocations: 159.5 kB / 0.5191 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.1369, allocations: 139.5 kB / 0.5192 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.1375, allocations: 151.6 kB / 0.5194 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.138, allocations: 223.3 kB / 0.5196 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1381, allocations: 13.73 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.1384, allocations: 107.6 kB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.1387, allocations: 139.5 kB / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.1387, allocations: 4 kB / 0.5198 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1389, allocations: 47.98 kB / 0.5199 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.139, allocations: 55.77 kB / 0.5199 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1391, allocations: 71.42 kB / 0.52 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.1395, allocations: 195.1 kB / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1395, allocations: 0 / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1395, allocations: 0 / 0.5202 GB, free: 3.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1395, allocations: 4 kB / 0.5202 GB, free: 3.164 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009852/0.1405, allocations: 460.7 kB / 0.5206 GB, free: 2.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1405, allocations: 8.031 kB / 0.5206 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.1406, allocations: 38.75 kB / 0.5207 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.1407, allocations: 28.75 kB / 0.5207 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.1412, allocations: 201.5 kB / 0.5209 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1412, allocations: 8.359 kB / 0.5209 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1412, allocations: 7.938 kB / 0.5209 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.1415, allocations: 95.3 kB / 0.521 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1415, allocations: 4 kB / 0.521 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1415, allocations: 0 / 0.521 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1415, allocations: 4 kB / 0.521 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1417, allocations: 39.97 kB / 0.521 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.1424, allocations: 411.9 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1427, allocations: 113.3 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.1428, allocations: 41.69 kB / 0.5216 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1428, allocations: 0 / 0.5216 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.143, allocations: 113.1 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.143, allocations: 0 / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009159/0.1439, allocations: 365.3 kB / 0.522 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.144, allocations: 85.03 kB / 0.5221 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.1444, allocations: 352.2 kB / 0.5225 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1444, allocations: 29.7 kB / 0.5225 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1445, allocations: 148.3 kB / 0.5226 GB, free: 468 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.1446, allocations: 63.52 kB / 0.5227 GB, free: 404 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/0.1447, allocations: 33.7 kB / 0.5227 GB, free: 364 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1449, allocations: 338.8 kB / 0.523 GB, free: 16 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.145, allocations: 40 kB / 0.5231 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.1451, allocations: 71.41 kB / 0.5232 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1454, allocations: 119.5 kB / 0.5233 GB, free: 15.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1454, allocations: 0 / 0.5233 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003869/0.1458, allocations: 181.4 kB / 0.5234 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1458, allocations: 8 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1458, allocations: 4 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1458, allocations: 0 / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.146, allocations: 47.92 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.146, allocations: 3.984 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.57e-05/0.1461, allocations: 4 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1461, allocations: 12 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.1463, allocations: 153.8 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.1464, allocations: 27.84 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.1468, allocations: 203.5 kB / 0.5239 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1468, allocations: 7.938 kB / 0.5239 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1468, allocations: 0 / 0.5239 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1468, allocations: 11.92 kB / 0.5239 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007909/0.1476, allocations: 0.5726 MB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1476, allocations: 0 / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.1477, allocations: 19.94 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1477, allocations: 4 kB / 0.5245 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.1477, allocations: 8.062 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1477, allocations: 7.984 kB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1477, allocations: 0 / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.1482, allocations: 364.2 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1482, allocations: 23.86 kB / 0.5249 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.1482, allocations: 7.938 kB / 0.5249 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1484, allocations: 7.984 kB / 0.5249 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1484, allocations: 15.98 kB / 0.5249 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1484, allocations: 4 kB / 0.5249 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.1487, allocations: 267 kB / 0.5252 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1487, allocations: 0 / 0.5252 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.1491, allocations: 39.94 kB / 0.5252 GB, free: 13.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002472/0.1515, allocations: 1.258 MB / 0.5264 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.1519, allocations: 115.8 kB / 0.5265 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1519, allocations: 0 / 0.5265 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.152, allocations: 47.92 kB / 0.5266 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.1525, allocations: 61.81 kB / 0.5266 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.1559, allocations: 2.454 MB / 0.529 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1563, allocations: 0.7515 MB / 0.5298 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.539e-05/0.1564, allocations: 25.94 kB / 0.5298 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1565, allocations: 79.39 kB / 0.5299 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1565, allocations: 0 / 0.5299 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.1901, allocations: 5.655 MB / 0.5354 GB, free: 3.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.24, allocations: 8.172 kB / 0.5354 GB, free: 3.023 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.483918363926932]