Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 105.9 kB / 18.3 MB, free: 4.887 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.001181/0.001181, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.397/1.397, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2172/0.2172, allocations: 44.17 MB / 337.2 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 64.56 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.004242/0.1509, allocations: 1.634 MB / 471.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.152, allocations: 455 kB / 472 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.1521, allocations: 0 / 472 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1524, allocations: 63.78 kB / 472.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.1527, allocations: 55.75 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.1533, allocations: 175.1 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1535, allocations: 75.77 kB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1537, allocations: 31.97 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.1538, allocations: 27.92 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.154, allocations: 55.75 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.154, allocations: 4 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1542, allocations: 47.98 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.1543, allocations: 23.91 kB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.1543, allocations: 27.81 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1546, allocations: 104 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.1546, allocations: 4 kB / 472.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1546, allocations: 3.938 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1546, allocations: 0 / 472.7 MB, free: 11.59 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.0006773/0.1553, allocations: 409.9 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1554, allocations: 12.03 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1554, allocations: 8.844 kB / 473.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1557, allocations: 200.6 kB / 473.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1557, allocations: 12.38 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1558, allocations: 7.938 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.156, allocations: 65.61 kB / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.156, allocations: 0 / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1561, allocations: 4 kB / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1561, allocations: 0 / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1563, allocations: 39.95 kB / 473.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.1569, allocations: 332.6 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1572, allocations: 54.55 kB / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1573, allocations: 28.97 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1574, allocations: 0 / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1574, allocations: 34.56 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1574, allocations: 0 / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002183/0.1596, allocations: 420.8 kB / 474.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1597, allocations: 55.34 kB / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1599, allocations: 184.1 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.16, allocations: 33.69 kB / 474.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1601, allocations: 104 kB / 474.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.1601, allocations: 31.55 kB / 474.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.1602, allocations: 25.72 kB / 474.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1604, allocations: 326.8 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1606, allocations: 51.95 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1608, allocations: 59.95 kB / 475.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.1613, allocations: 125 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1613, allocations: 0 / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005342/0.1618, allocations: 169.3 kB / 475.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1619, allocations: 8 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.1619, allocations: 3.938 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1619, allocations: 0.5625 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.1621, allocations: 27.97 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1621, allocations: 4 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.1622, allocations: 11.98 kB / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1622, allocations: 8 kB / 475.5 MB, free: 8.57 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.0001494/0.1624, allocations: 129.8 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.1625, allocations: 15.89 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.1631, allocations: 178.2 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1631, allocations: 4 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1631, allocations: 0 / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1631, allocations: 0 / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1642, allocations: 0.5037 MB / 476.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1642, allocations: 0 / 476.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1644, allocations: 23.98 kB / 476.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1644, allocations: 4 kB / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1644, allocations: 0 / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1645, allocations: 4.062 kB / 476.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1645, allocations: 7.938 kB / 476.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005659/0.165, allocations: 261 kB / 476.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.1651, allocations: 93.02 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.1652, allocations: 8.078 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.1653, allocations: 7.938 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.1654, allocations: 11.98 kB / 476.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1654, allocations: 4 kB / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1656, allocations: 150.8 kB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1656, allocations: 0 / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.1661, allocations: 27.91 kB / 476.9 MB, free: 7.039 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.001651/0.1678, allocations: 455.4 kB / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.1683, allocations: 135.8 kB / 477.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1684, allocations: 0 / 477.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1686, allocations: 67.89 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.1692, allocations: 30.95 kB / 477.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.17, allocations: 321.5 kB / 477.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1705, allocations: 0.7158 MB / 478.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.1705, allocations: 19.38 kB / 478.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1706, allocations: 4 kB / 478.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of Templates: time 0.005329/0.1759, allocations: 1.998 MB / 480.6 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches