Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009146/0.0009148, allocations: 98.19 kB / 17 MB, free: 6.398 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.0008951/0.0008952, allocations: 177.1 kB / 17.89 MB, free: 5.945 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.496/1.496, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003162, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 61.94 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002777/0.1414, allocations: 1.321 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1425, allocations: 415.5 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1427, allocations: 8 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1431, allocations: 71.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1433, allocations: 43.88 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.144, allocations: 161.6 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1442, allocations: 71.75 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1444, allocations: 19.98 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1445, allocations: 27.91 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1447, allocations: 39.84 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.1447, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1449, allocations: 43.97 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.1449, allocations: 23.92 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.145, allocations: 33.64 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1452, allocations: 84.14 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.1452, allocations: 0 / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1452, allocations: 0 / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1452, allocations: 0 / 474 MB, free: 11.31 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.0007451/0.146, allocations: 418.8 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.1461, allocations: 12.5 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.1461, allocations: 11.81 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1464, allocations: 190.9 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1464, allocations: 8 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1465, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1467, allocations: 73.56 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1467, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1468, allocations: 8 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1468, allocations: 4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.147, allocations: 47.95 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.1478, allocations: 340.6 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.148, allocations: 58.55 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.1481, allocations: 28.97 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1482, allocations: 4 kB / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1482, allocations: 38.56 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/0.1482, allocations: 0 / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001567/0.1498, allocations: 492.9 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1498, allocations: 51.41 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1501, allocations: 215.1 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1501, allocations: 25.7 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1502, allocations: 104.1 kB / 476 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.1503, allocations: 39.45 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.1503, allocations: 8 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1505, allocations: 322.8 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1506, allocations: 59.95 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1508, allocations: 67.95 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.151, allocations: 59.97 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.151, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003596/0.1514, allocations: 186.3 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.1514, allocations: 7.984 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1514, allocations: 3.938 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1514, allocations: 0 / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1516, allocations: 31.98 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1516, allocations: 0 / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.1517, allocations: 23.98 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1517, allocations: 3.953 kB / 476.8 MB, free: 8.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.1519, allocations: 137.8 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.152, allocations: 11.81 kB / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.1524, allocations: 202.9 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1525, allocations: 4 kB / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1525, allocations: 0 / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1525, allocations: 3.984 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.1534, allocations: 0.5194 MB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.1534, allocations: 3.984 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1535, allocations: 27.98 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.1535, allocations: 4 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.1535, allocations: 7.984 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.1536, allocations: 8.016 kB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1536, allocations: 4 kB / 477.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.154, allocations: 281 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.1541, allocations: 88.92 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1542, allocations: 4 kB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.1543, allocations: 15.98 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.1544, allocations: 15.94 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1544, allocations: 4 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1545, allocations: 155.9 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.414e-06/0.1546, allocations: 0 / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1549, allocations: 35.92 kB / 478.3 MB, free: 6.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/0.1562, allocations: 469 kB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.1566, allocations: 139.9 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1566, allocations: 3.938 kB / 478.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.1568, allocations: 71.89 kB / 479 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1572, allocations: 28.11 kB / 479 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.1579, allocations: 335.3 kB / 479.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.1584, allocations: 0.716 MB / 480.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1585, allocations: 36.39 kB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.1585, allocations: 19.42 kB / 480.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1586, allocations: 0 / 480.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.004957/0.1635, allocations: 1.472 MB / 481.6 MB, free: 3.434 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches