Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.00186/0.00186, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.851/1.851, allocations: 205.1 MB / 223.8 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.2811/0.2811, allocations: 43.53 MB / 314.7 MB, free: 468 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.001601/0.001601, allocations: 80.67 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1664, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003739/0.1702, allocations: 1.694 MB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1716, allocations: 0.7922 MB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1717, allocations: 7.938 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1721, allocations: 47.81 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1724, allocations: 63.69 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1726, allocations: 79.77 kB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1728, allocations: 99.69 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1729, allocations: 8.234 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.173, allocations: 39.8 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.1731, allocations: 31.83 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1731, allocations: 4 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.1732, allocations: 43.98 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.1733, allocations: 23.91 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.1734, allocations: 43.62 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1736, allocations: 115.6 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1736, allocations: 4 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1736, allocations: 0 / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1736, allocations: 4 kB / 445.1 MB, free: 3.016 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.0005983/0.1742, allocations: 426.8 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1743, allocations: 11.89 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.1743, allocations: 8.844 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1746, allocations: 219.9 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1746, allocations: 8.312 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1747, allocations: 4.125 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1748, allocations: 57.67 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1749, allocations: 4 kB / 445.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1749, allocations: 3.984 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1749, allocations: 3.984 kB / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.175, allocations: 19.98 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1754, allocations: 284.9 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1755, allocations: 58.62 kB / 446.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1756, allocations: 20.84 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1756, allocations: 4 kB / 446.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.1758, allocations: 67.33 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1758, allocations: 0 / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.1763, allocations: 185.1 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1763, allocations: 51.41 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1765, allocations: 226.6 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1765, allocations: 25.7 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1766, allocations: 108.1 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1766, allocations: 23.66 kB / 446.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1767, allocations: 29.7 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.1767, allocations: 326.8 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1768, allocations: 27.92 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.1768, allocations: 41.69 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.983e-05/0.1769, allocations: 50.09 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1769, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000148/0.1771, allocations: 113.5 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1771, allocations: 5.25 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1771, allocations: 8.031 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1772, allocations: 4 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.1772, allocations: 12 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1773, allocations: 7.922 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.1773, allocations: 7.938 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1773, allocations: 4 kB / 447.5 MB, free: 376 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.528e-05/0.1774, allocations: 133.7 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1775, allocations: 11.91 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.1775, allocations: 17.41 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1775, allocations: 4 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1775, allocations: 0 / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1775, allocations: 7.922 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.178, allocations: 399.2 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.178, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1781, allocations: 8 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1781, allocations: 4 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1781, allocations: 3.938 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1781, allocations: 8.016 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1781, allocations: 0 / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1784, allocations: 204.2 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.1784, allocations: 85.11 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1785, allocations: 7.938 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1785, allocations: 3.938 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1786, allocations: 15.98 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1786, allocations: 4 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1788, allocations: 171.2 kB / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1788, allocations: 0 / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1791, allocations: 20 kB / 448.6 MB, free: 15.17 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.001157/0.1802, allocations: 471.4 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1805, allocations: 63.89 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1805, allocations: 0 / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.1806, allocations: 31.92 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.181, allocations: 28.3 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.1815, allocations: 255.2 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1818, allocations: 0.708 MB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.1819, allocations: 16.86 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.1819, allocations: 15.44 kB / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1819, allocations: 4 kB / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Templates: time 0.005083/0.187, allocations: 1.709 MB / 451.8 MB, free: 11.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches