Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 103.1 kB / 16.27 MB, free: 5.93 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.001324/0.001324, allocations: 187.9 kB / 17.2 MB, free: 5.574 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.632/1.632, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.343/0.343, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001474/0.001474, allocations: 75.03 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1627, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003783/0.1665, allocations: 1.841 MB / 442.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.168, allocations: 0.8935 MB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1682, allocations: 4 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.1687, allocations: 219.4 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.169, allocations: 171.4 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.1694, allocations: 143.5 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.1697, allocations: 227.4 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1698, allocations: 21.81 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.17, allocations: 111.5 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1702, allocations: 147.5 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1702, allocations: 8 kB / 444.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1703, allocations: 47.92 kB / 444.3 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.1704, allocations: 51.83 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1706, allocations: 79.36 kB / 444.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.1709, allocations: 215.2 kB / 444.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1709, allocations: 0 / 444.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1709, allocations: 4 kB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1709, allocations: 0 / 444.7 MB, free: 2.707 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007097/0.1716, allocations: 0.5369 MB / 445.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1717, allocations: 15.89 kB / 445.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.1717, allocations: 32.64 kB / 445.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.172, allocations: 276 kB / 445.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.172, allocations: 8.312 kB / 445.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1721, allocations: 8.125 kB / 445.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1723, allocations: 99.3 kB / 445.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1723, allocations: 7.969 kB / 445.7 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1723, allocations: 4 kB / 445.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1724, allocations: 4 kB / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1725, allocations: 39.97 kB / 445.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1729, allocations: 444.9 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1732, allocations: 117.3 kB / 446.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.1733, allocations: 45.64 kB / 446.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1733, allocations: 4 kB / 446.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.1736, allocations: 109 kB / 446.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1736, allocations: 7.938 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008142/0.1744, allocations: 367.9 kB / 446.8 MB, free: 420 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1745, allocations: 81.05 kB / 446.9 MB, free: 320 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.1749, allocations: 428.5 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1749, allocations: 29.7 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.175, allocations: 164.2 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.1751, allocations: 51.3 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.1752, allocations: 29.72 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1753, allocations: 346.8 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1755, allocations: 43.94 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1756, allocations: 72.55 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1758, allocations: 119.4 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1758, allocations: 0 / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003185/0.1761, allocations: 177.3 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1762, allocations: 8 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1762, allocations: 0.8125 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1762, allocations: 4 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1764, allocations: 39.91 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1764, allocations: 4.25 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.1765, allocations: 8 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1765, allocations: 8 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001693/0.1767, allocations: 169.7 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.1768, allocations: 31.62 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.1768, allocations: 34.61 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1769, allocations: 8 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1769, allocations: 3.938 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1769, allocations: 3.984 kB / 448.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.1777, allocations: 0.6164 MB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1778, allocations: 7.938 kB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.1778, allocations: 20.05 kB / 449.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1778, allocations: 4 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1778, allocations: 8 kB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1779, allocations: 0 / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1779, allocations: 0 / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1783, allocations: 371.9 kB / 449.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.1784, allocations: 100.8 kB / 449.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1784, allocations: 8 kB / 449.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.1785, allocations: 4 kB / 449.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.1786, allocations: 19.97 kB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1786, allocations: 11.92 kB / 449.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.179, allocations: 319 kB / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.179, allocations: 0 / 450.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.1793, allocations: 39.98 kB / 450.1 MB, free: 12.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001193/0.1805, allocations: 469.4 kB / 450.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.1808, allocations: 119.9 kB / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1809, allocations: 0 / 450.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.181, allocations: 67.83 kB / 450.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.1815, allocations: 66.67 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.1824, allocations: 0.4946 MB / 451.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1828, allocations: 0.7593 MB / 452.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.127e-05/0.1829, allocations: 37.91 kB / 452.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.183, allocations: 27.44 kB / 452.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.183, allocations: 0 / 452.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Templates: time 0.006669/0.1896, allocations: 2.721 MB / 454.9 MB, free: 8.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches