Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007722/0.0007722, allocations: 94.56 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008605/0.0008606, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.8 MB / 246.9 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2401/0.2401, allocations: 46.19 MB / 345.3 MB, free: 11.39 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 419.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 63.57 MB / 483.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002316/0.1314, allocations: 1.385 MB / 484.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1325, allocations: 0.5729 MB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1326, allocations: 0 / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1328, allocations: 59.86 kB / 485.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1331, allocations: 83.72 kB / 485.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1335, allocations: 165.5 kB / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1337, allocations: 83.75 kB / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1338, allocations: 24.22 kB / 485.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.1339, allocations: 27.86 kB / 485.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1341, allocations: 39.83 kB / 485.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1341, allocations: 3.938 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1342, allocations: 51.92 kB / 485.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.001e-05/0.1343, allocations: 19.92 kB / 485.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.1344, allocations: 61.42 kB / 485.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1345, allocations: 107.7 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1345, allocations: 0 / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1346, allocations: 0 / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1346, allocations: 4 kB / 485.8 MB, free: 1.422 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.0005402/0.1351, allocations: 399.4 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1351, allocations: 12.03 kB / 486.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1352, allocations: 12.75 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1354, allocations: 200 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1354, allocations: 384 / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1355, allocations: 8.375 kB / 486.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1357, allocations: 77.78 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1357, allocations: 0 / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1357, allocations: 0 / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1357, allocations: 0 / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1359, allocations: 55.89 kB / 486.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.1364, allocations: 332.7 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.1367, allocations: 70.58 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.1368, allocations: 28.97 kB / 487 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1368, allocations: 0 / 487 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1368, allocations: 30.56 kB / 487 MB, free: 60 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1369, allocations: 4 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001743/0.1386, allocations: 0.4892 MB / 487.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1387, allocations: 55.34 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1389, allocations: 202.8 kB / 487.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1389, allocations: 25.7 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.139, allocations: 112 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.1391, allocations: 35.45 kB / 488 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1391, allocations: 17.72 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1393, allocations: 322.8 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1395, allocations: 67.89 kB / 488.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.1397, allocations: 59.97 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.14, allocations: 145 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.14, allocations: 3.938 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003971/0.1404, allocations: 181.5 kB / 488.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1405, allocations: 10.81 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1405, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1405, allocations: 0 / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1406, allocations: 48.41 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1407, allocations: 0 / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.1407, allocations: 12 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1408, allocations: 3.984 kB / 488.8 MB, free: 14.23 MB / 366.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.0001265/0.1409, allocations: 125.8 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1409, allocations: 11.81 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.1414, allocations: 214.2 kB / 489.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1414, allocations: 11.88 kB / 489.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1415, allocations: 4 kB / 489.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1415, allocations: 3.984 kB / 489.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.1423, allocations: 0.5078 MB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1423, allocations: 3.938 kB / 489.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1424, allocations: 31.98 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1424, allocations: 0 / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1424, allocations: 4 kB / 489.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1424, allocations: 0 / 489.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1424, allocations: 8.062 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1429, allocations: 288.9 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.143, allocations: 89 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.143, allocations: 8 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1431, allocations: 11.98 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1432, allocations: 15.92 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1432, allocations: 8 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1433, allocations: 139.2 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1433, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1436, allocations: 27.98 kB / 490.3 MB, free: 12.62 MB / 366.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.001706/0.1453, allocations: 451.1 kB / 490.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.1457, allocations: 143.9 kB / 490.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1458, allocations: 3.938 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.1459, allocations: 75.89 kB / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1463, allocations: 27.92 kB / 491 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.147, allocations: 363.5 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1473, allocations: 0.716 MB / 492.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.492e-05/0.1474, allocations: 28.53 kB / 492.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.1475, allocations: 23.42 kB / 492.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1475, allocations: 0 / 492.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Templates: time 0.00461/0.1521, allocations: 1.522 MB / 493.6 MB, free: 9.387 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches