Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 97.09 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009608/0.0009609, allocations: 177.7 kB / 16.92 MB, free: 6.676 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.986/1.986, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5196/0.5196, allocations: 43.58 MB / 315 MB, free: 8.832 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.0006302/0.0006302, allocations: 16 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1745, allocations: 58.85 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002331/0.1769, allocations: 1.421 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1783, allocations: 0.7691 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.1783, allocations: 3.938 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1787, allocations: 27.91 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1788, allocations: 47.83 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1791, allocations: 75.84 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1793, allocations: 99.69 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1794, allocations: 8.219 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.985e-05/0.1794, allocations: 39.78 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.1795, allocations: 31.8 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1796, allocations: 0 / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1797, allocations: 39.97 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.1797, allocations: 19.92 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.1798, allocations: 53.45 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.18, allocations: 119.9 kB / 446.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.18, allocations: 3.938 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.18, allocations: 0 / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.18, allocations: 0 / 446.2 MB, free: 9.906 MB / 382.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.0005537/0.1806, allocations: 399 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1806, allocations: 8.031 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1806, allocations: 8.844 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1809, allocations: 220 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1809, allocations: 4.375 kB / 446.8 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.181, allocations: 8.125 kB / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1811, allocations: 57.66 kB / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1811, allocations: 0 / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1812, allocations: 0 / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1812, allocations: 0 / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.1812, allocations: 27.86 kB / 446.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1816, allocations: 280.9 kB / 447.2 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.1818, allocations: 62.67 kB / 447.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1819, allocations: 20.84 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1819, allocations: 4 kB / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1821, allocations: 71.23 kB / 447.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1821, allocations: 4 kB / 447.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005043/0.1826, allocations: 165.3 kB / 447.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1827, allocations: 51.41 kB / 447.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1828, allocations: 186.2 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1829, allocations: 29.7 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1829, allocations: 108 kB / 447.9 MB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.183, allocations: 23.7 kB / 447.9 MB, free: 8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.183, allocations: 13.72 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1831, allocations: 334.8 kB / 448.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.1832, allocations: 15.98 kB / 448.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.1833, allocations: 37.7 kB / 448.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1834, allocations: 57.66 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1834, allocations: 0 / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1836, allocations: 97.66 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1836, allocations: 11.97 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1836, allocations: 80 / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1836, allocations: 4 kB / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.1837, allocations: 12.19 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1837, allocations: 7.969 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1838, allocations: 15.88 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1838, allocations: 0 / 448.5 MB, free: 7.371 MB / 382.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.0001062/0.1839, allocations: 125.8 kB / 448.6 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.184, allocations: 11.89 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.184, allocations: 16.72 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.184, allocations: 0 / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.184, allocations: 4 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.184, allocations: 3.938 kB / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.1845, allocations: 387.6 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1845, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.1845, allocations: 23.92 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1845, allocations: 7.969 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1845, allocations: 7.938 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1846, allocations: 0 / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1846, allocations: 0 / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1848, allocations: 196.3 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.1849, allocations: 96.91 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1849, allocations: 7.938 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.185, allocations: 4 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.185, allocations: 11.98 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.185, allocations: 4 kB / 449.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1851, allocations: 144 kB / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1852, allocations: 0 / 449.5 MB, free: 6.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1854, allocations: 27.98 kB / 449.6 MB, free: 6.211 MB / 382.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.001062/0.1865, allocations: 466.5 kB / 450 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1867, allocations: 63.91 kB / 450.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1867, allocations: 7.875 kB / 450.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.1867, allocations: 24 kB / 450.1 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1871, allocations: 32.03 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.1875, allocations: 238.7 kB / 450.4 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1879, allocations: 0.7121 MB / 451.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.667e-05/0.188, allocations: 17.17 kB / 451.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.188, allocations: 15.44 kB / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.188, allocations: 0 / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of Templates: time 0.004544/0.1926, allocations: 1.607 MB / 452.7 MB, free: 3.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches