Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.0013, allocations: 111.6 kB / 17.04 MB, free: 5.816 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.001082/0.001082, allocations: 195 kB / 17.98 MB, free: 5.027 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.732/1.732, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2484/0.2484, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 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.001939/0.00194, allocations: 68.52 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1726, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004217/0.1768, allocations: 1.693 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1783, allocations: 0.7961 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1785, allocations: 3.938 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.179, allocations: 59.73 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1793, allocations: 59.77 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1797, allocations: 87.69 kB / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.18, allocations: 99.69 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1801, allocations: 4.234 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.983e-05/0.1802, allocations: 43.78 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.971e-05/0.1803, allocations: 27.84 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1803, allocations: 4 kB / 444.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1805, allocations: 44 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1805, allocations: 35.83 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.1806, allocations: 39.69 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1808, allocations: 131.5 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1808, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1809, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1809, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.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.0005903/0.1815, allocations: 438.7 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1815, allocations: 11.89 kB / 445.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.1816, allocations: 16.84 kB / 445.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1819, allocations: 219.7 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1819, allocations: 384 / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.182, allocations: 12.03 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1821, allocations: 61.61 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1821, allocations: 0 / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1822, allocations: 4 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1822, allocations: 0 / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.1823, allocations: 19.98 kB / 445.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1827, allocations: 296.9 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1828, allocations: 58.61 kB / 446.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.1829, allocations: 16.86 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1829, allocations: 7.922 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.1831, allocations: 71.39 kB / 446.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1831, allocations: 0 / 446.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.1836, allocations: 189 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1837, allocations: 51.41 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1839, allocations: 258.5 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1839, allocations: 25.7 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.184, allocations: 116 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.184, allocations: 27.73 kB / 447 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.1841, allocations: 25.72 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.1841, allocations: 326.8 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.1842, allocations: 23.98 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1843, allocations: 41.58 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/0.1844, allocations: 57.7 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1844, allocations: 8 kB / 447.4 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001588/0.1845, allocations: 97.44 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1846, allocations: 8 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1846, allocations: 0 / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1846, allocations: 0 / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.1847, allocations: 15.98 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1847, allocations: 4.156 kB / 447.6 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.1848, allocations: 3.938 kB / 447.6 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1848, allocations: 11.98 kB / 447.6 MB, free: 300 kB / 318.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 8.892e-05/0.1849, allocations: 145.7 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1849, allocations: 15.8 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1849, allocations: 17.41 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.185, allocations: 4 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.185, allocations: 384 / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.185, allocations: 3.938 kB / 447.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.1855, allocations: 403.2 kB / 448.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1855, allocations: 8.031 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1856, allocations: 8 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1856, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.1856, allocations: 15.92 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1856, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1856, allocations: 3.938 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.1859, allocations: 200.2 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.186, allocations: 96.92 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.186, allocations: 7.938 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1861, allocations: 3.984 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.1861, allocations: 4 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1862, allocations: 8 kB / 448.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002142/0.1864, allocations: 196.5 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1864, allocations: 0 / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1867, allocations: 24 kB / 448.7 MB, free: 15.05 MB / 334.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.00124/0.1879, allocations: 470.9 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1881, allocations: 55.91 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.1882, allocations: 0 / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.1882, allocations: 39.98 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1886, allocations: 23.98 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.1892, allocations: 283.9 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1896, allocations: 0.7158 MB / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.1897, allocations: 25.23 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.1897, allocations: 15.44 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1897, allocations: 0 / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.005284/0.195, allocations: 1.727 MB / 452 MB, free: 11.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches