Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.001728/0.001728, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001955/0.001955, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.518/1.518, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.2328/0.2328, allocations: 44.23 MB / 330.3 MB, free: 9.605 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.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60",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.003913/0.003913, allocations: 63.91 kB / 467.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1502, allocations: 61.05 MB / 0.5162 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003658/0.1538, allocations: 1.711 MB / 0.5179 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1564, allocations: 1.517 MB / 0.5194 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1565, allocations: 0 / 0.5194 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1569, allocations: 39.77 kB / 0.5194 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1572, allocations: 59.75 kB / 0.5195 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.1575, allocations: 83.7 kB / 0.5195 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1577, allocations: 107.7 kB / 0.5196 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1578, allocations: 12.22 kB / 0.5197 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.158, allocations: 43.78 kB / 0.5197 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1581, allocations: 35.84 kB / 0.5197 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1582, allocations: 4 kB / 0.5197 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1583, allocations: 67.91 kB / 0.5198 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1584, allocations: 19.91 kB / 0.5198 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.1585, allocations: 31.81 kB / 0.5198 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1587, allocations: 115.6 kB / 0.52 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1587, allocations: 3.984 kB / 0.52 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1587, allocations: 0 / 0.52 GB, free: 3.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1587, allocations: 4 kB / 0.52 GB, free: 3.418 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006059/0.1593, allocations: 325.7 kB / 0.5203 GB, free: 3.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1594, allocations: 11.97 kB / 0.5203 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.1594, allocations: 38.62 kB / 0.5203 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1595, allocations: 16.86 kB / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1598, allocations: 150.3 kB / 0.5205 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1598, allocations: 384 / 0.5205 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1598, allocations: 7.938 kB / 0.5205 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.16, allocations: 71.39 kB / 0.5206 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.16, allocations: 4 kB / 0.5206 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1601, allocations: 0 / 0.5206 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1601, allocations: 0 / 0.5206 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/0.1601, allocations: 23.92 kB / 0.5206 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.1605, allocations: 251.9 kB / 0.5208 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1607, allocations: 58.67 kB / 0.5209 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1608, allocations: 16.86 kB / 0.5209 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1608, allocations: 0 / 0.5209 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.1609, allocations: 71.31 kB / 0.521 GB, free: 2.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.161, allocations: 4 kB / 0.521 GB, free: 2.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.1615, allocations: 169.6 kB / 0.5211 GB, free: 2.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.1616, allocations: 81.11 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1618, allocations: 161.1 kB / 0.5214 GB, free: 1.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1618, allocations: 25.7 kB / 0.5214 GB, free: 1.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.1618, allocations: 100.1 kB / 0.5215 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1619, allocations: 27.78 kB / 0.5215 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1619, allocations: 21.7 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1621, allocations: 322.8 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.1621, allocations: 23.98 kB / 0.5219 GB, free: 1.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.1622, allocations: 38.69 kB / 0.5219 GB, free: 1.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1623, allocations: 69.7 kB / 0.522 GB, free: 1.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1623, allocations: 0 / 0.522 GB, free: 1.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1625, allocations: 97.58 kB / 0.5221 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1626, allocations: 12.06 kB / 0.5221 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1626, allocations: 0 / 0.5221 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1626, allocations: 0 / 0.5221 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.1627, allocations: 15.98 kB / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1627, allocations: 7.938 kB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.1627, allocations: 3.938 kB / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1627, allocations: 4 kB / 0.5221 GB, free: 1.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001226/0.1629, allocations: 122 kB / 0.5222 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1629, allocations: 11.95 kB / 0.5222 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.1632, allocations: 118.2 kB / 0.5223 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1632, allocations: 4 kB / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1632, allocations: 0 / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1632, allocations: 3.938 kB / 0.5223 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.1637, allocations: 358.4 kB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1637, allocations: 0 / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.1638, allocations: 8 kB / 0.5227 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1638, allocations: 7.953 kB / 0.5227 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1638, allocations: 8 kB / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1638, allocations: 0 / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1638, allocations: 0 / 0.5227 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1641, allocations: 204.5 kB / 0.5229 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.1641, allocations: 7.953 kB / 0.5229 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1641, allocations: 7.938 kB / 0.5229 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1642, allocations: 11.98 kB / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1642, allocations: 7.984 kB / 0.5229 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1642, allocations: 0 / 0.5229 GB, free: 60 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1644, allocations: 123.2 kB / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1644, allocations: 0 / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1647, allocations: 31.92 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002571/0.1672, allocations: 1.147 MB / 0.5242 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1675, allocations: 55.91 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1675, allocations: 0 / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.1675, allocations: 23.98 kB / 0.5243 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1679, allocations: 23.98 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1698, allocations: 1.563 MB / 0.5258 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1701, allocations: 0.7001 MB / 0.5265 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.739e-05/0.1702, allocations: 12.97 kB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1703, allocations: 39.42 kB / 0.5266 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1703, allocations: 0 / 0.5266 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.203, allocations: 3.732 MB / 0.5302 GB, free: 8.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.03, allocations: 3.906 kB / 0.5302 GB, free: 8.383 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.323919887887314]