Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.001449/0.001449, allocations: 183.3 kB / 17.87 MB, free: 5.609 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.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 368 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.2325/0.2325, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 61.91 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002022/0.1502, allocations: 1.275 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007157/0.1509, allocations: 351.7 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.151, allocations: 0 / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.1516, allocations: 443.1 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.1519, allocations: 243.5 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1523, allocations: 106.9 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1525, allocations: 103.8 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1526, allocations: 15.98 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1527, allocations: 99.78 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1529, allocations: 139.7 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1529, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.153, allocations: 23.92 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1531, allocations: 79.69 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.1531, allocations: 61.52 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1534, allocations: 175.8 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1534, allocations: 4 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1534, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1534, allocations: 0 / 474.5 MB, free: 10.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006963/0.1541, allocations: 0.5874 MB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1541, allocations: 8.031 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.1542, allocations: 47.42 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1545, allocations: 275.3 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1545, allocations: 8 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1546, allocations: 3.953 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1547, allocations: 45.69 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1547, allocations: 0 / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1547, allocations: 4 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1547, allocations: 0 / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.1548, allocations: 23.98 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1553, allocations: 384.7 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.1554, allocations: 26.58 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1554, allocations: 0 / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1555, allocations: 34.62 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1555, allocations: 0 / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002633/0.1557, allocations: 109.1 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1558, allocations: 55.34 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.1566, allocations: 0.8613 MB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1567, allocations: 25.7 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1568, allocations: 224.1 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.1569, allocations: 8.031 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.1569, allocations: 0 / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.157, allocations: 358.8 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.1571, allocations: 11.98 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.1571, allocations: 8 kB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.1572, allocations: 15.94 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1572, allocations: 8 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001339/0.1573, allocations: 93.12 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1573, allocations: 6.188 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1573, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1574, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.1574, allocations: 15.94 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1575, allocations: 0 / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.1575, allocations: 19.95 kB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1575, allocations: 0 / 477.8 MB, free: 7.211 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 (2): * Single equations (assignments): 2 * 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.0001919/0.1577, allocations: 210.3 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.1578, allocations: 39.44 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.158, allocations: 116.6 kB / 478.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.158, allocations: 3.984 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.158, allocations: 4.031 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.158, allocations: 0 / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1583, allocations: 277.6 kB / 478.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1583, allocations: 3.953 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.1583, allocations: 8 kB / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1583, allocations: 3.938 kB / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1584, allocations: 0 / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1584, allocations: 0 / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1584, allocations: 0 / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1586, allocations: 187.1 kB / 478.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.1586, allocations: 120.5 kB / 478.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1587, allocations: 0 / 478.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.1587, allocations: 4 kB / 478.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1588, allocations: 7.922 kB / 478.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1588, allocations: 0 / 478.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005863/0.1594, allocations: 0.655 MB / 479.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1594, allocations: 0 / 479.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002365/0.1596, allocations: 20 kB / 479.4 MB, free: 5.469 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0007627/0.1604, allocations: 342.2 kB / 479.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1606, allocations: 31.92 kB / 479.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1606, allocations: 0 / 479.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.1606, allocations: 8 kB / 479.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1609, allocations: 29.88 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.162, allocations: 0.7984 MB / 480.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.1625, allocations: 0.8262 MB / 481.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.471e-05/0.1625, allocations: 8.188 kB / 481.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.1625, allocations: 15.44 kB / 481.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1625, allocations: 0 / 481.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of Templates: time 0.004223/0.1668, allocations: 1.19 MB / 482.6 MB, free: 2.309 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches