Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 70.72 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1463, allocations: 62.44 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003116/0.1495, allocations: 1.711 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.1504, allocations: 0.5495 MB / 481.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1505, allocations: 4 kB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.151, allocations: 447.2 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003959/0.1514, allocations: 283.5 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1517, allocations: 110.9 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1519, allocations: 167.6 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.152, allocations: 23.97 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1522, allocations: 103.8 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1524, allocations: 223.5 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1524, allocations: 4 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.1525, allocations: 35.98 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1526, allocations: 83.62 kB / 483.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.1527, allocations: 99 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1529, allocations: 259 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1529, allocations: 4 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1529, allocations: 0 / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.153, allocations: 0 / 483.6 MB, free: 1.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000654/0.1536, allocations: 0.6377 MB / 484.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1537, allocations: 8.031 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.1537, allocations: 40.47 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.154, allocations: 300.1 kB / 484.5 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.154, allocations: 12.31 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.154, allocations: 4.375 kB / 484.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1542, allocations: 57.8 kB / 484.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1542, allocations: 0 / 484.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1542, allocations: 4 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1542, allocations: 0 / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.1543, allocations: 23.97 kB / 484.6 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.1548, allocations: 392.6 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.155, allocations: 46.56 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1551, allocations: 20.94 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1551, allocations: 0 / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1551, allocations: 30.56 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1551, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.1557, allocations: 231.9 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1558, allocations: 55.41 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/0.1566, allocations: 0.8614 MB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1566, allocations: 25.7 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1567, allocations: 228 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.1568, allocations: 11.81 kB / 486.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1568, allocations: 21.66 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.157, allocations: 370.7 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.1571, allocations: 15.98 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.1571, allocations: 23.92 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1573, allocations: 48.83 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1573, allocations: 0 / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002084/0.1575, allocations: 121.2 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1575, allocations: 6.656 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1575, allocations: 4.062 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1575, allocations: 0 / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.1576, allocations: 15.98 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1576, allocations: 0 / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.1577, allocations: 11.88 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.1577, allocations: 3.938 kB / 487.1 MB, free: 13.7 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 (5): * Single equations (assignments): 5 * 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.000178/0.1579, allocations: 217.8 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.1579, allocations: 39.53 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.1582, allocations: 133.1 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1582, allocations: 4 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1582, allocations: 0 / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1582, allocations: 3.938 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1587, allocations: 462.3 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1588, allocations: 0 / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.1588, allocations: 11.98 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1588, allocations: 0 / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1589, allocations: 7.938 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1589, allocations: 0 / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1589, allocations: 0 / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1591, allocations: 215 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.1592, allocations: 108.8 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1592, allocations: 7.938 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.1593, allocations: 4 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1593, allocations: 8.172 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1593, allocations: 7.984 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005993/0.16, allocations: 0.655 MB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.16, allocations: 0 / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1602, allocations: 19.98 kB / 489 MB, free: 11.71 MB / 366.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 (5): * Single equations (assignments): 5 * 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.0009079/0.1611, allocations: 398.6 kB / 489.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1613, allocations: 55.89 kB / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1614, allocations: 0 / 489.5 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.1614, allocations: 23.98 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1618, allocations: 29.67 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1629, allocations: 0.8733 MB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1633, allocations: 0.8182 MB / 491.2 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.1634, allocations: 16.22 kB / 491.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.1634, allocations: 15.44 kB / 491.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1634, allocations: 0 / 491.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of Templates: time 0.004853/0.1683, allocations: 1.45 MB / 492.7 MB, free: 8.129 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches