Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 103 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001333, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2344/0.2344, allocations: 43.53 MB / 314 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003161/0.003161, allocations: 77.67 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1531, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003563/0.1567, allocations: 1.686 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.158, allocations: 0.7961 MB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.1581, allocations: 3.938 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1585, allocations: 39.83 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1587, allocations: 55.75 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.159, allocations: 95.64 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.1591, allocations: 95.69 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1593, allocations: 12.17 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.1593, allocations: 43.78 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.1594, allocations: 27.84 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1594, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.1595, allocations: 39.98 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.1596, allocations: 23.92 kB / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.1596, allocations: 35.69 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1598, allocations: 115.7 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1598, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1598, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1599, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.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.0004956/0.1604, allocations: 414.9 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1604, allocations: 11.89 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.1604, allocations: 30.75 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1605, allocations: 20.69 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1607, allocations: 214.2 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1607, allocations: 4.375 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1607, allocations: 7.875 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1609, allocations: 53.67 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1609, allocations: 8 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1609, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1609, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.161, allocations: 19.98 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.1613, allocations: 284.9 kB / 444.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1614, allocations: 66.55 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.1615, allocations: 20.84 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1615, allocations: 0 / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.1617, allocations: 71.39 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1617, allocations: 0 / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004904/0.1622, allocations: 177.1 kB / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.1622, allocations: 51.41 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1624, allocations: 207.3 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1624, allocations: 25.7 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1624, allocations: 108 kB / 445.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1625, allocations: 23.66 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.1625, allocations: 29.7 kB / 445.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.1626, allocations: 326.8 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.1626, allocations: 19.94 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.1627, allocations: 33.7 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.1628, allocations: 61.77 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1628, allocations: 4 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.1629, allocations: 101.5 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1629, allocations: 4 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.163, allocations: 3.984 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.163, allocations: 7.984 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.1631, allocations: 12 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1631, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.1631, allocations: 11.94 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1631, allocations: 3.938 kB / 446.1 MB, free: 1.078 MB / 318.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 7.392e-05/0.1632, allocations: 137.7 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.1632, allocations: 15.81 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.1633, allocations: 21.39 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1633, allocations: 0 / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1633, allocations: 0 / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1633, allocations: 3.938 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.1636, allocations: 387.7 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1636, allocations: 4.031 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1637, allocations: 15.98 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1637, allocations: 3.938 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1637, allocations: 4 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1637, allocations: 192 / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1637, allocations: 0 / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1639, allocations: 208.2 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.1639, allocations: 92.92 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1639, allocations: 3.938 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.164, allocations: 7.984 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.164, allocations: 4 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1641, allocations: 8 kB / 447 MB, free: 72 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1642, allocations: 143.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1642, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1645, allocations: 31.98 kB / 447.2 MB, free: 15.9 MB / 334.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.001438/0.1659, allocations: 1.098 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1661, allocations: 55.91 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1661, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.1662, allocations: 35.97 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1665, allocations: 29.95 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1683, allocations: 1.655 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1686, allocations: 0.708 MB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1686, allocations: 13.19 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.1687, allocations: 39.36 kB / 450.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1687, allocations: 3.938 kB / 450.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1911, allocations: 3.356 MB / 454.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.145, allocations: 8 kB / 454.2 MB, free: 8.812 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches