Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 105.3 kB / 17.03 MB, free: 6.129 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.004696/0.004696, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.746/1.746, 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.2507/0.2507, allocations: 43.52 MB / 314.7 MB, free: 480 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.001948/0.001948, allocations: 76.92 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1662, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004184/0.1705, allocations: 1.693 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1718, allocations: 0.7922 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1719, allocations: 7.938 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.1723, allocations: 47.81 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1725, allocations: 67.69 kB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1728, allocations: 83.75 kB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.173, allocations: 95.7 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1731, allocations: 16.2 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.1732, allocations: 39.8 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.1733, allocations: 27.84 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1733, allocations: 4 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.372e-05/0.1734, allocations: 43.98 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1735, allocations: 35.83 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.1736, allocations: 39.69 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1738, allocations: 127.6 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1738, allocations: 3.984 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1738, allocations: 0 / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1738, allocations: 0 / 445.1 MB, free: 2.996 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.0007032/0.1745, allocations: 442.6 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1746, allocations: 11.89 kB / 445.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1746, allocations: 12.84 kB / 445.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.175, allocations: 219.7 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.175, allocations: 8.375 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.175, allocations: 12.03 kB / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1752, allocations: 57.61 kB / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1752, allocations: 0 / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1752, allocations: 4 kB / 445.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1752, allocations: 0 / 445.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.1753, allocations: 15.98 kB / 445.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1757, allocations: 296.9 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1759, allocations: 58.62 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.1759, allocations: 20.84 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.176, allocations: 0 / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.1761, allocations: 67.39 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1761, allocations: 0 / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005447/0.1767, allocations: 189 kB / 446.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.1767, allocations: 55.41 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1769, allocations: 258.5 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.1769, allocations: 25.7 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.177, allocations: 124 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.177, allocations: 23.73 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.1771, allocations: 25.72 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.1771, allocations: 330.8 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1772, allocations: 19.98 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.1773, allocations: 41.64 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.1774, allocations: 57.7 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1774, allocations: 0 / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000162/0.1775, allocations: 101.4 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1776, allocations: 12.03 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1776, allocations: 0 / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1776, allocations: 0 / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.1777, allocations: 19.92 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1777, allocations: 160 / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1778, allocations: 11.94 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1778, allocations: 4 kB / 447.6 MB, free: 284 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 0.0001067/0.1779, allocations: 137.8 kB / 447.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.1779, allocations: 11.81 kB / 447.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.178, allocations: 29.38 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.178, allocations: 0 / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.178, allocations: 4 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.178, allocations: 4.125 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1785, allocations: 403.2 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1785, allocations: 3.938 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.1786, allocations: 12 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1786, allocations: 0 / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1786, allocations: 3.938 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.1786, allocations: 12.02 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1786, allocations: 0 / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1789, allocations: 208.2 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.179, allocations: 88.92 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.179, allocations: 7.938 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.1791, allocations: 384 / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1791, allocations: 11.98 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1792, allocations: 8 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1794, allocations: 192.5 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1794, allocations: 0 / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1797, allocations: 27.98 kB / 448.7 MB, free: 15.03 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.001457/0.1812, allocations: 469.6 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1814, allocations: 59.89 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1814, allocations: 0 / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.1815, allocations: 31.94 kB / 449.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1819, allocations: 27.97 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.1825, allocations: 284.1 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1829, allocations: 0.7158 MB / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.1829, allocations: 25.11 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.183, allocations: 11.44 kB / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.183, allocations: 8 kB / 450.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Templates: time 0.005921/0.1889, allocations: 1.719 MB / 452 MB, free: 11.73 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches