Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001085/0.001085, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.92 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1455, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004128/0.1497, allocations: 1.691 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1507, allocations: 447.2 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.1508, allocations: 3.938 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1511, allocations: 47.89 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1513, allocations: 51.88 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.1519, allocations: 159.3 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1521, allocations: 71.77 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1522, allocations: 23.98 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.1523, allocations: 23.92 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1524, allocations: 55.75 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1524, allocations: 3.938 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1526, allocations: 47.98 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.1527, allocations: 19.97 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.1527, allocations: 27.75 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.153, allocations: 104 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.153, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.153, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.153, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005995/0.1536, allocations: 399.1 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1537, allocations: 8.031 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.1537, allocations: 16.73 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1539, allocations: 196.1 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.154, allocations: 4.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.154, allocations: 8.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1542, allocations: 65.8 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1543, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1543, allocations: 4 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1543, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1545, allocations: 47.89 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.155, allocations: 312.7 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1552, allocations: 66.58 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/0.1553, allocations: 28.97 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1554, allocations: 3.984 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1554, allocations: 34.56 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1554, allocations: 0 / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001579/0.157, allocations: 416.8 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.157, allocations: 59.28 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1572, allocations: 179.3 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1572, allocations: 25.7 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.1573, allocations: 104 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.1574, allocations: 39.34 kB / 473.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.1575, allocations: 25.7 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1576, allocations: 322.8 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1577, allocations: 51.97 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1579, allocations: 59.95 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1582, allocations: 128.7 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1582, allocations: 0 / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.1585, allocations: 157.5 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.1586, allocations: 14.48 kB / 474 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1586, allocations: 3.938 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1586, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1587, allocations: 27.92 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1587, allocations: 0 / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.1588, allocations: 11.98 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1588, allocations: 8 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001502/0.159, allocations: 122.4 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.1591, allocations: 12.47 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.1595, allocations: 194.1 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1596, allocations: 0 / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1596, allocations: 4 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1596, allocations: 0 / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008232/0.1604, allocations: 0.496 MB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1604, allocations: 0 / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.1605, allocations: 23.98 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.1606, allocations: 4 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1606, allocations: 4 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1606, allocations: 8.062 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1606, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1611, allocations: 269.5 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.1611, allocations: 89.02 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1612, allocations: 8.078 kB / 475.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.1613, allocations: 11.94 kB / 475.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.1613, allocations: 7.984 kB / 475.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.1614, allocations: 4 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1615, allocations: 138.7 kB / 475.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1615, allocations: 0 / 475.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1618, allocations: 24 kB / 475.4 MB, free: 7.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001065/0.1628, allocations: 458.3 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.1632, allocations: 131.8 kB / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1633, allocations: 0 / 476 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1634, allocations: 67.91 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1638, allocations: 15.98 kB / 476.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.1644, allocations: 325.7 kB / 476.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1648, allocations: 0.7199 MB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.165, allocations: 36.38 kB / 477.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.165, allocations: 19.38 kB / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.165, allocations: 0 / 477.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Templates: time 0.004541/0.1696, allocations: 1.511 MB / 478.7 MB, free: 4.434 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches