Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008884, allocations: 103 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.0009775/0.0009775, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.003/2.003, allocations: 205.4 MB / 223.1 MB, free: 5.504 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.4572/0.4572, allocations: 43.56 MB / 315 MB, free: 8.809 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.000549/0.000549, allocations: 12.56 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1741, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002516/0.1766, allocations: 1.41 MB / 444.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1781, allocations: 0.773 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.1782, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1786, allocations: 39.83 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1788, allocations: 47.83 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.179, allocations: 79.84 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1792, allocations: 87.7 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1793, allocations: 16.22 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.473e-05/0.1794, allocations: 47.7 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1795, allocations: 23.86 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1795, allocations: 4 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1797, allocations: 35.98 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.1797, allocations: 23.91 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.1798, allocations: 53.45 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.18, allocations: 111.9 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.18, allocations: 0 / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.1801, allocations: 4 kB / 446.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1801, allocations: 3.938 kB / 446.2 MB, free: 9.891 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.0005743/0.1806, allocations: 395.1 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1807, allocations: 12.03 kB / 446.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1807, allocations: 8.844 kB / 446.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.181, allocations: 212 kB / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1811, allocations: 384 / 446.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1811, allocations: 4.125 kB / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1813, allocations: 61.67 kB / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1813, allocations: 0 / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1813, allocations: 0 / 446.9 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1814, allocations: 3.938 kB / 446.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.1814, allocations: 23.92 kB / 446.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.1819, allocations: 284.9 kB / 447.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1821, allocations: 66.66 kB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.1822, allocations: 20.8 kB / 447.3 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1822, allocations: 3.984 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.1824, allocations: 75.3 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.1824, allocations: 0 / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005769/0.183, allocations: 161.3 kB / 447.5 MB, free: 8.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1831, allocations: 63.39 kB / 447.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1833, allocations: 182.2 kB / 447.8 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1833, allocations: 29.7 kB / 447.8 MB, free: 8.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.1834, allocations: 104.1 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.1834, allocations: 23.7 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.1835, allocations: 13.72 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1836, allocations: 326.8 kB / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.1837, allocations: 16 kB / 448.3 MB, free: 7.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1838, allocations: 45.64 kB / 448.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.184, allocations: 69.69 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.184, allocations: 0 / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.1842, allocations: 97.52 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1842, allocations: 8 kB / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1842, allocations: 0 / 448.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1842, allocations: 4.031 kB / 448.5 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.1843, allocations: 16 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1844, allocations: 4 kB / 448.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1844, allocations: 7.922 kB / 448.5 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1844, allocations: 4 kB / 448.5 MB, free: 7.355 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.0001158/0.1846, allocations: 121.8 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.1846, allocations: 11.91 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.1846, allocations: 16.7 kB / 448.7 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1847, allocations: 4 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1847, allocations: 0 / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1847, allocations: 7.875 kB / 448.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1852, allocations: 391.3 kB / 449 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1852, allocations: 0 / 449 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.1852, allocations: 15.92 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1853, allocations: 3.938 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1853, allocations: 7.938 kB / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1853, allocations: 32 / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1853, allocations: 4 kB / 449.1 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1855, allocations: 196.3 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1856, allocations: 92.91 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1856, allocations: 3.938 kB / 449.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.1857, allocations: 8 kB / 449.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1858, allocations: 15.92 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1858, allocations: 4.375 kB / 449.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1859, allocations: 140.1 kB / 449.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1859, allocations: 0 / 449.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1862, allocations: 23.98 kB / 449.6 MB, free: 6.207 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.001215/0.1874, allocations: 477.3 kB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1877, allocations: 55.91 kB / 450.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1877, allocations: 3.938 kB / 450.1 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1878, allocations: 35.97 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1881, allocations: 23.97 kB / 450.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.1886, allocations: 246.7 kB / 450.4 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.189, allocations: 0.7083 MB / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.1891, allocations: 12.88 kB / 451.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.1891, allocations: 15.44 kB / 451.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1891, allocations: 0 / 451.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of Templates: time 0.006098/0.1952, allocations: 1.616 MB / 452.7 MB, free: 3 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches