Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001065, allocations: 92.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.2 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00234/0.1424, allocations: 1.385 MB / 484.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1437, allocations: 0.573 MB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.1438, allocations: 0 / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.1445, allocations: 447.2 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.145, allocations: 279.5 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.1456, allocations: 159.2 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1459, allocations: 179.6 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1461, allocations: 20.23 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1462, allocations: 107.7 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1465, allocations: 203.6 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1465, allocations: 0 / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1467, allocations: 51.95 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1468, allocations: 87.64 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1469, allocations: 128.7 kB / 486.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.1473, allocations: 254.9 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1473, allocations: 0 / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1473, allocations: 0 / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1473, allocations: 0 / 486.9 MB, free: 308 kB / 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.0008196/0.1481, allocations: 0.6032 MB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1482, allocations: 8.031 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.1483, allocations: 44.38 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1486, allocations: 307.9 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1486, allocations: 384 / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1486, allocations: 4.375 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1488, allocations: 69.8 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1488, allocations: 0 / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1488, allocations: 4 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1489, allocations: 0 / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.149, allocations: 47.91 kB / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.1497, allocations: 408.6 kB / 488.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1498, allocations: 54.53 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.1499, allocations: 24.94 kB / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1499, allocations: 0 / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.658e-05/0.15, allocations: 30.56 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.15, allocations: 0 / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001081/0.1511, allocations: 360.2 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.1511, allocations: 59.34 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.1521, allocations: 0.866 MB / 489.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1521, allocations: 25.7 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1523, allocations: 232 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1524, allocations: 23.66 kB / 490 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1525, allocations: 13.72 kB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.1527, allocations: 362.8 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1528, allocations: 35.97 kB / 490.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/0.1529, allocations: 39.92 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1532, allocations: 84.81 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1532, allocations: 0 / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002992/0.1535, allocations: 153.1 kB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1535, allocations: 8 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1535, allocations: 0 / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1535, allocations: 0 / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1537, allocations: 23.98 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1538, allocations: 7.875 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.1538, allocations: 4 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1538, allocations: 7.984 kB / 490.8 MB, free: 12.21 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 (8): * Single equations (assignments): 8 * 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.0001987/0.154, allocations: 213.8 kB / 491 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.1541, allocations: 47.42 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.1545, allocations: 177.5 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.1545, allocations: 4 kB / 491.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1545, allocations: 7.938 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1545, allocations: 3.984 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.1552, allocations: 0.5226 MB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1553, allocations: 7.969 kB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.1553, allocations: 23.92 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1553, allocations: 0 / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1554, allocations: 11.94 kB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1554, allocations: 0 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1554, allocations: 480 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1557, allocations: 259.8 kB / 492 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.1558, allocations: 116.5 kB / 492.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1558, allocations: 4 kB / 492.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.1559, allocations: 11.98 kB / 492.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.156, allocations: 7.938 kB / 492.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.156, allocations: 8 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006468/0.1566, allocations: 0.6589 MB / 492.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 492.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1569, allocations: 24 kB / 492.9 MB, free: 10 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001104/0.158, allocations: 451.6 kB / 493.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.1583, allocations: 83.94 kB / 493.4 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1584, allocations: 3.938 kB / 493.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1585, allocations: 51.97 kB / 493.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.1589, allocations: 30.23 kB / 493.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1602, allocations: 0.9204 MB / 494.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.1607, allocations: 0.8341 MB / 495.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.348e-05/0.1608, allocations: 28.7 kB / 495.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1608, allocations: 15.44 kB / 495.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1608, allocations: 0 / 495.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of Templates: time 0.006022/0.1669, allocations: 1.637 MB / 496.9 MB, free: 6.062 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches