Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001397/0.001397, allocations: 114.4 kB / 17.33 MB, free: 5.617 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.001561/0.001561, allocations: 191.6 kB / 18.25 MB, free: 4.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 44.18 MB / 336.3 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 69.05 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1566, allocations: 60.83 MB / 468.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004148/0.1608, allocations: 1.765 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1624, allocations: 0.8498 MB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1626, allocations: 4 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1629, allocations: 39.83 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.1632, allocations: 47.83 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1636, allocations: 91.83 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1638, allocations: 95.69 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1639, allocations: 16.23 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.164, allocations: 47.66 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.1641, allocations: 35.84 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1641, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1643, allocations: 43.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.1643, allocations: 15.92 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.1644, allocations: 31.75 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1647, allocations: 111.9 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1647, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1647, allocations: 7.938 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1647, allocations: 0 / 472 MB, free: 11.39 MB / 350.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.000558/0.1653, allocations: 411 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1654, allocations: 8.031 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1654, allocations: 30.75 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.1655, allocations: 16.75 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1657, allocations: 208.1 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1657, allocations: 4.375 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1658, allocations: 3.938 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1659, allocations: 57.61 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1659, allocations: 4 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.166, allocations: 4 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.166, allocations: 0 / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.1661, allocations: 19.98 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1664, allocations: 284.9 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1666, allocations: 66.61 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.1667, allocations: 24.78 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1667, allocations: 0 / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1669, allocations: 63.39 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.167, allocations: 4 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.1675, allocations: 177.2 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.1676, allocations: 55.41 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1678, allocations: 186.1 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.1678, allocations: 33.7 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1679, allocations: 104.1 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1679, allocations: 23.7 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.168, allocations: 17.72 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1682, allocations: 322.8 kB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.845e-05/0.1683, allocations: 23.98 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.1684, allocations: 45.58 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1685, allocations: 57.72 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1685, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002187/0.1687, allocations: 101.4 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1688, allocations: 8 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1688, allocations: 0 / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1688, allocations: 0 / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1689, allocations: 20.02 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1689, allocations: 4 kB / 474.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.169, allocations: 7.938 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.169, allocations: 4 kB / 474.4 MB, free: 8.789 MB / 350.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.0001437/0.1691, allocations: 125.8 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.1692, allocations: 11.89 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1692, allocations: 16.72 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1692, allocations: 0 / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1693, allocations: 0 / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1693, allocations: 7.938 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.1698, allocations: 391.3 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1698, allocations: 384 / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.1699, allocations: 11.98 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1699, allocations: 3.938 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1699, allocations: 4 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.1699, allocations: 4 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1699, allocations: 4.172 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1702, allocations: 212.2 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1703, allocations: 88.95 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1703, allocations: 11.92 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.1704, allocations: 0 / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.1704, allocations: 4 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1705, allocations: 11.98 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1707, allocations: 143.2 kB / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1707, allocations: 0 / 475.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.171, allocations: 27.98 kB / 475.4 MB, free: 7.621 MB / 350.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.001801/0.1728, allocations: 1.096 MB / 476.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.173, allocations: 51.97 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.173, allocations: 4 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.1731, allocations: 39.97 kB / 476.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1735, allocations: 27.22 kB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1757, allocations: 1.646 MB / 478.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.176, allocations: 0.7002 MB / 479 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.1761, allocations: 17.17 kB / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.1762, allocations: 35.42 kB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1762, allocations: 4 kB / 479.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.1905, allocations: 3.212 MB / 482.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.1907, allocations: 240 kB / 482.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.078, allocations: 0 / 482.5 MB, free: 0.6797 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches