Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001431/0.001431, allocations: 110.5 kB / 17.33 MB, free: 5.992 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.001669/0.001669, allocations: 189.3 kB / 18.25 MB, free: 5.086 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.416/1.416, allocations: 222.9 MB / 241.9 MB, free: 13.72 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.2313/0.2313, allocations: 44.18 MB / 336.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 69.75 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1617, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004653/0.1664, allocations: 1.718 MB / 470.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1683, allocations: 0.8459 MB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1685, allocations: 0 / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.169, allocations: 47.83 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.1695, allocations: 59.81 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.17, allocations: 91.2 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1703, allocations: 87.7 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.1704, allocations: 7.984 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1705, allocations: 47.73 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1706, allocations: 35.84 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1707, allocations: 0 / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1708, allocations: 31.98 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.1709, allocations: 23.92 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.171, allocations: 47.66 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.1714, allocations: 115.9 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1714, allocations: 0 / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.1714, allocations: 0 / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1714, allocations: 0 / 472 MB, free: 11.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007119/0.1721, allocations: 434.7 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.1722, allocations: 12.03 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.1723, allocations: 30.75 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.1723, allocations: 16.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1727, allocations: 211.9 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1727, allocations: 384 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1727, allocations: 11.94 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1729, allocations: 49.61 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.173, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.173, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.173, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.1731, allocations: 12 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.1734, allocations: 189.7 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1736, allocations: 58.55 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.1737, allocations: 20.86 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.1737, allocations: 7.922 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.174, allocations: 63.39 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.174, allocations: 0 / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003186/0.1743, allocations: 101.5 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.1744, allocations: 55.41 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1747, allocations: 258.9 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1747, allocations: 33.7 kB / 473.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.1748, allocations: 112.1 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1748, allocations: 7.906 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.1749, allocations: 17.72 kB / 473.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1751, allocations: 330.8 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.1751, allocations: 15.98 kB / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.1752, allocations: 33.69 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.1753, allocations: 41.72 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1753, allocations: 4.188 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001758/0.1755, allocations: 93.42 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1755, allocations: 4 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1755, allocations: 4 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1756, allocations: 0 / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.1757, allocations: 12 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1757, allocations: 0 / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.1758, allocations: 19.86 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1758, allocations: 0 / 474.2 MB, free: 8.98 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 (7): * Single equations (assignments): 7 * 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.000143/0.1759, allocations: 141.7 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.1759, allocations: 15.89 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.176, allocations: 17 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.176, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.176, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.176, allocations: 3.984 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1762, allocations: 189.6 kB / 474.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1763, allocations: 4 kB / 474.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.1763, allocations: 11.92 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1763, allocations: 0 / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1763, allocations: 0 / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1763, allocations: 4 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1763, allocations: 0 / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1765, allocations: 116.8 kB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.1766, allocations: 88.92 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1767, allocations: 4 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.1767, allocations: 4 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1768, allocations: 7.984 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1768, allocations: 4 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.177, allocations: 196.2 kB / 475 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.177, allocations: 0 / 475 MB, free: 8.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1772, allocations: 20 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001529/0.1787, allocations: 0.9622 MB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.179, allocations: 47.91 kB / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.179, allocations: 0 / 476 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.1791, allocations: 16 kB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.1794, allocations: 32.16 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1816, allocations: 1.662 MB / 477.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.182, allocations: 0.7158 MB / 478.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.1821, allocations: 12.55 kB / 478.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.1821, allocations: 39.42 kB / 478.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1822, allocations: 0 / 478.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.197, allocations: 3.229 MB / 481.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.1972, allocations: 240.6 kB / 482 MB, free: 1.227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.154, allocations: 3.938 kB / 482 MB, free: 1.223 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches