Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 88.19 kB / 15.7 MB, free: 460 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.001148/0.001148, allocations: 175.2 kB / 16.58 MB, free: 6.84 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.485/1.485, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3893/0.3893, allocations: 43.58 MB / 314.6 MB, free: 8.707 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.000931/0.0009311, allocations: 16 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1703, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002749/0.1731, allocations: 1.583 MB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1746, allocations: 0.7772 MB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.1748, allocations: 3.938 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1752, allocations: 35.84 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1755, allocations: 47.77 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1758, allocations: 83.83 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1761, allocations: 123.6 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1762, allocations: 25.47 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1764, allocations: 47.72 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1765, allocations: 43.78 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1765, allocations: 4 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1767, allocations: 35.97 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1767, allocations: 23.86 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1768, allocations: 41.64 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.177, allocations: 104 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1771, allocations: 4 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1771, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1771, allocations: 0 / 445.8 MB, free: 10.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007984/0.1779, allocations: 472.2 kB / 446.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1779, allocations: 12.03 kB / 446.3 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.178, allocations: 11.81 kB / 446.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1783, allocations: 219.5 kB / 446.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.1784, allocations: 11.98 kB / 446.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1784, allocations: 4 kB / 446.5 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1787, allocations: 104.2 kB / 446.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1787, allocations: 3.984 kB / 446.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1787, allocations: 8 kB / 446.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1787, allocations: 3.953 kB / 446.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1789, allocations: 51.91 kB / 446.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.1796, allocations: 0.5048 MB / 447.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1799, allocations: 94.66 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.18, allocations: 40.83 kB / 447.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1801, allocations: 4 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1803, allocations: 79.31 kB / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.1803, allocations: 0 / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004238/0.1807, allocations: 153.4 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1808, allocations: 55.39 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.181, allocations: 187.5 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.181, allocations: 29.7 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.1811, allocations: 116 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1812, allocations: 23.62 kB / 448 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1812, allocations: 4 kB / 448 MB, free: 7.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1813, allocations: 330.8 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/0.1814, allocations: 31.92 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.1815, allocations: 68.2 kB / 448.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.615e-05/0.1816, allocations: 40.31 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1817, allocations: 3.953 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002718/0.1819, allocations: 141.3 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.182, allocations: 8.125 kB / 448.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.182, allocations: 4 kB / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.182, allocations: 0 / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1821, allocations: 27.92 kB / 448.6 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1821, allocations: 8 kB / 448.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.1822, allocations: 11.92 kB / 448.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.1822, allocations: 11.98 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.1824, allocations: 121.8 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1824, allocations: 23.77 kB / 448.8 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.1825, allocations: 21.39 kB / 448.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1825, allocations: 0 / 448.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1825, allocations: 4 kB / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1825, allocations: 0 / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.1827, allocations: 205.6 kB / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1827, allocations: 0 / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.1828, allocations: 19.88 kB / 449 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1828, allocations: 4 kB / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1829, allocations: 0 / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1829, allocations: 4 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1829, allocations: 0 / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.1832, allocations: 180.8 kB / 449.2 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1833, allocations: 100.9 kB / 449.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1833, allocations: 12.12 kB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.1834, allocations: 12.05 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.1835, allocations: 11.94 kB / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1835, allocations: 7.984 kB / 449.3 MB, free: 6.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1836, allocations: 133.2 kB / 449.5 MB, free: 5.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 449.5 MB, free: 5.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1839, allocations: 32.11 kB / 449.5 MB, free: 5.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/0.185, allocations: 417.6 kB / 449.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.1853, allocations: 87.78 kB / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1853, allocations: 0 / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1854, allocations: 39.97 kB / 450 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1858, allocations: 32.36 kB / 450.1 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.1864, allocations: 297.6 kB / 450.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1867, allocations: 0.7162 MB / 451.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.187e-05/0.1868, allocations: 13.42 kB / 451.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.1868, allocations: 19.44 kB / 451.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1868, allocations: 3.938 kB / 451.1 MB, free: 4.332 MB / 382.1 MB Notification: Performance of Templates: time 0.005696/0.1925, allocations: 1.731 MB / 452.8 MB, free: 2.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches