Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009416/0.0009413, allocations: 179.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008475/0.0008477, allocations: 89.02 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5026/0.5026, allocations: 43.56 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 12 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.168, allocations: 58.84 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002691/0.1708, allocations: 1.586 MB / 491.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1723, allocations: 0.7694 MB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1724, allocations: 7.938 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.1728, allocations: 39.83 kB / 492.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.173, allocations: 47.77 kB / 492.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.1734, allocations: 95.75 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1736, allocations: 111.6 kB / 492.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1737, allocations: 29.47 kB / 492.9 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1738, allocations: 55.7 kB / 493 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.778e-05/0.1739, allocations: 35.78 kB / 493 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.174, allocations: 4 kB / 493 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.1741, allocations: 32 kB / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.1741, allocations: 27.84 kB / 493.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1742, allocations: 41.64 kB / 493.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1744, allocations: 112 kB / 493.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1744, allocations: 0 / 493.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1744, allocations: 0 / 493.2 MB, free: 7.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1744, allocations: 0 / 493.2 MB, free: 7.953 MB / 378.7 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.0007753/0.1752, allocations: 464.4 kB / 493.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1753, allocations: 8.031 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.1753, allocations: 19.81 kB / 493.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1756, allocations: 226.8 kB / 493.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1757, allocations: 4 kB / 493.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1757, allocations: 8 kB / 493.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.176, allocations: 104.2 kB / 494 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.176, allocations: 4 kB / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.176, allocations: 0 / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.176, allocations: 7.953 kB / 494 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1762, allocations: 51.91 kB / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.1768, allocations: 0.5126 MB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.1772, allocations: 82.67 kB / 494.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1773, allocations: 44.83 kB / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1773, allocations: 3.938 kB / 494.7 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.1776, allocations: 95.25 kB / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1776, allocations: 0 / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004078/0.178, allocations: 153.4 kB / 495 MB, free: 5.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1781, allocations: 51.41 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1783, allocations: 187.5 kB / 495.2 MB, free: 5.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1783, allocations: 25.7 kB / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.1784, allocations: 112 kB / 495.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1784, allocations: 39.53 kB / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.1785, allocations: 0 / 495.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1786, allocations: 330.8 kB / 495.7 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.1787, allocations: 23.98 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1788, allocations: 72.33 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1789, allocations: 39.98 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1789, allocations: 3.953 kB / 495.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002899/0.1792, allocations: 137.3 kB / 496 MB, free: 4.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1793, allocations: 4 kB / 496 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1793, allocations: 128 / 496 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1793, allocations: 8 kB / 496 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1794, allocations: 27.92 kB / 496 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1794, allocations: 0 / 496 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.1795, allocations: 16.41 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1795, allocations: 4 kB / 496 MB, free: 4.867 MB / 378.7 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.0001354/0.1797, allocations: 133.2 kB / 496.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1797, allocations: 19.77 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1798, allocations: 17.41 kB / 496.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1798, allocations: 3.938 kB / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1798, allocations: 0 / 496.2 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1798, allocations: 3.984 kB / 496.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.18, allocations: 205.6 kB / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.18, allocations: 0 / 496.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.272e-05/0.1801, allocations: 19.89 kB / 496.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1801, allocations: 0 / 496.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1801, allocations: 4 kB / 496.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1801, allocations: 7.984 kB / 496.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1801, allocations: 4 kB / 496.5 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.1805, allocations: 184.8 kB / 496.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1806, allocations: 92.89 kB / 496.7 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.1807, allocations: 11.94 kB / 496.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.1807, allocations: 16.05 kB / 496.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1808, allocations: 7.984 kB / 496.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1808, allocations: 0 / 496.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1809, allocations: 141.2 kB / 496.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1809, allocations: 0 / 496.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.1811, allocations: 28 kB / 496.9 MB, free: 3.895 MB / 378.7 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.0008794/0.182, allocations: 409.1 kB / 497.3 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.1823, allocations: 87.83 kB / 497.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1823, allocations: 0 / 497.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1824, allocations: 35.98 kB / 497.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1827, allocations: 47.58 kB / 497.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.1833, allocations: 327.5 kB / 497.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1837, allocations: 0.7162 MB / 498.5 MB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.1837, allocations: 19.44 kB / 498.5 MB, free: 2.258 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1837, allocations: 0 / 498.5 MB, free: 2.258 MB / 378.7 MB Notification: Performance of Templates: time 0.003986/0.1877, allocations: 2.133 MB / 0.4889 GB, free: 128 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches