Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009774/0.0009779, allocations: 101.2 kB / 16.02 MB, free: 76 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.001308/0.001308, allocations: 186 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.5066/0.5066, allocations: 43.57 MB / 315 MB, free: 9.078 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.0005452/0.0005453, allocations: 22.95 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1728, allocations: 58.86 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002443/0.1753, allocations: 1.503 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1769, allocations: 0.8471 MB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.177, allocations: 4 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.1776, allocations: 295.3 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.178, allocations: 191.6 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.1784, allocations: 127.8 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1787, allocations: 231.4 kB / 446.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.1788, allocations: 13.55 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1789, allocations: 123.4 kB / 446.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.1792, allocations: 180 kB / 446.9 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1792, allocations: 4 kB / 446.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1793, allocations: 43.97 kB / 447 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1795, allocations: 128.5 kB / 447.1 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.1796, allocations: 176.5 kB / 447.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.18, allocations: 342.9 kB / 447.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1801, allocations: 0 / 447.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1801, allocations: 0 / 447.6 MB, free: 8.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1801, allocations: 0 / 447.6 MB, free: 8.695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009838/0.1811, allocations: 0.665 MB / 448.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1811, allocations: 8.031 kB / 448.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.1812, allocations: 48.38 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.1818, allocations: 439.9 kB / 448.8 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1818, allocations: 4.375 kB / 448.8 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1819, allocations: 4.125 kB / 448.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1821, allocations: 87.34 kB / 448.9 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.1821, allocations: 8 kB / 448.9 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1821, allocations: 3.984 kB / 448.9 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1821, allocations: 3.938 kB / 448.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1822, allocations: 31.97 kB / 448.9 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1827, allocations: 374.2 kB / 449.3 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.183, allocations: 109.2 kB / 449.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1831, allocations: 41.64 kB / 449.4 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1831, allocations: 0 / 449.4 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.1833, allocations: 113 kB / 449.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1834, allocations: 0 / 449.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004868/0.1838, allocations: 197 kB / 449.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.1839, allocations: 77.11 kB / 449.8 MB, free: 6.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.1851, allocations: 1.007 MB / 450.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1851, allocations: 33.7 kB / 450.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1853, allocations: 232 kB / 451.1 MB, free: 5.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.1854, allocations: 27.66 kB / 451.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.1855, allocations: 21.7 kB / 451.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1857, allocations: 362.8 kB / 451.5 MB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1858, allocations: 27.98 kB / 451.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.1859, allocations: 55.42 kB / 451.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1861, allocations: 95.34 kB / 451.6 MB, free: 4.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1861, allocations: 0 / 451.6 MB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003158/0.1864, allocations: 161.5 kB / 451.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1865, allocations: 4 kB / 451.8 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1865, allocations: 7.938 kB / 451.8 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1865, allocations: 3.938 kB / 451.8 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1867, allocations: 32.11 kB / 451.9 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1867, allocations: 0 / 451.9 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1868, allocations: 19.83 kB / 451.9 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1868, allocations: 4 kB / 451.9 MB, free: 4.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003373/0.1872, allocations: 229.5 kB / 452.1 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.1873, allocations: 51.33 kB / 452.2 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1874, allocations: 63.84 kB / 452.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1874, allocations: 0 / 452.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.1874, allocations: 4 kB / 452.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1874, allocations: 0 / 452.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.1878, allocations: 341.3 kB / 452.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1878, allocations: 0 / 452.6 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.1879, allocations: 4 kB / 452.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.1879, allocations: 7.984 kB / 452.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1879, allocations: 4 kB / 452.6 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1879, allocations: 0 / 452.6 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1879, allocations: 4 kB / 452.6 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1883, allocations: 197.3 kB / 452.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1885, allocations: 148.4 kB / 452.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.1885, allocations: 0 / 452.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.1886, allocations: 7.984 kB / 452.9 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.1887, allocations: 8 kB / 452.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1887, allocations: 7.984 kB / 452.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009623/0.1897, allocations: 0.7487 MB / 453.7 MB, free: 2.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1897, allocations: 4 kB / 453.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.19, allocations: 43.98 kB / 453.7 MB, free: 2.203 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001216/0.1912, allocations: 421.4 kB / 454.1 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.1915, allocations: 79.91 kB / 454.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1915, allocations: 0 / 454.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1916, allocations: 43.91 kB / 454.3 MB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.1921, allocations: 66.34 kB / 454.3 MB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1934, allocations: 0.9283 MB / 455.3 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.227/0.4205, allocations: 0.8367 MB / 456.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.4208, allocations: 56.42 kB / 456.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.4208, allocations: 28.61 kB / 456.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4208, allocations: 0 / 456.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of Templates: time 0.007392/0.4282, allocations: 3.423 MB / 459.6 MB, free: 45.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches