Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009193/0.0009193, allocations: 95.94 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 204.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 63.55 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00287/0.146, allocations: 1.728 MB / 484.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1482, allocations: 1.325 MB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1483, allocations: 0 / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1487, allocations: 47.64 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.1491, allocations: 179.4 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1504, allocations: 0.567 MB / 486.9 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.1509, allocations: 303.1 kB / 487.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.1511, allocations: 64.72 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1513, allocations: 119.4 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1515, allocations: 167.3 kB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1516, allocations: 12 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1517, allocations: 63.89 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.1519, allocations: 135.5 kB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1521, allocations: 184.3 kB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.1525, allocations: 374.7 kB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1525, allocations: 0 / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1525, allocations: 0 / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1525, allocations: 0 / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009954/0.1535, allocations: 0.7116 MB / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001356/0.1537, allocations: 8.875 kB / 489 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.154, allocations: 76.25 kB / 489.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.1547, allocations: 471.7 kB / 489.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1547, allocations: 8.359 kB / 489.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.1547, allocations: 16.03 kB / 489.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.155, allocations: 159.1 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1551, allocations: 0 / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1551, allocations: 0 / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1551, allocations: 7.984 kB / 489.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.1554, allocations: 103.9 kB / 489.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009212/0.1563, allocations: 0.6879 MB / 490.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1565, allocations: 121.2 kB / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1566, allocations: 45.83 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1567, allocations: 7.984 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.602e-05/0.1568, allocations: 50.42 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1568, allocations: 0 / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001607/0.1584, allocations: 0.576 MB / 491.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1585, allocations: 85.11 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1595, allocations: 0.9063 MB / 492.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1595, allocations: 29.7 kB / 492.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1597, allocations: 252.3 kB / 492.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.1598, allocations: 55.2 kB / 492.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1598, allocations: 21.7 kB / 492.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.16, allocations: 374.7 kB / 493.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1602, allocations: 71.95 kB / 493.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1604, allocations: 92.47 kB / 493.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.1608, allocations: 181.7 kB / 493.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1608, allocations: 0 / 493.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006203/0.1614, allocations: 260.8 kB / 493.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1615, allocations: 6.188 kB / 493.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1615, allocations: 7.984 kB / 493.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1615, allocations: 4 kB / 493.7 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.1618, allocations: 43.91 kB / 493.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1618, allocations: 0 / 493.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1619, allocations: 8 kB / 493.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1619, allocations: 15.98 kB / 493.7 MB, free: 9.188 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002268/0.1622, allocations: 213.7 kB / 493.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.1623, allocations: 59.25 kB / 494 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.1629, allocations: 310.5 kB / 494.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.163, allocations: 4 kB / 494.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.163, allocations: 0 / 494.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.163, allocations: 0.8594 kB / 494.3 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.1642, allocations: 0.8253 MB / 495.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1642, allocations: 3.984 kB / 495.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1644, allocations: 47.97 kB / 495.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1644, allocations: 0 / 495.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1644, allocations: 11.98 kB / 495.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.1644, allocations: 3.938 kB / 495.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1644, allocations: 4 kB / 495.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.165, allocations: 430 kB / 495.6 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.1651, allocations: 148.3 kB / 495.8 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.1652, allocations: 12 kB / 495.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1654, allocations: 15.92 kB / 495.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.1655, allocations: 15.98 kB / 495.8 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1655, allocations: 7.984 kB / 495.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007298/0.1662, allocations: 0.6591 MB / 496.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1662, allocations: 0 / 496.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1666, allocations: 59.98 kB / 496.5 MB, free: 6.277 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 (16): * Single equations (assignments): 16 * 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.001091/0.1677, allocations: 403.2 kB / 496.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004634/0.1682, allocations: 167.9 kB / 497.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1682, allocations: 3.938 kB / 497.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.1684, allocations: 103.8 kB / 497.2 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.1691, allocations: 75.52 kB / 497.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1707, allocations: 1.078 MB / 498.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.1713, allocations: 0.8843 MB / 499.2 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.1716, allocations: 87.2 kB / 499.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.806e-05/0.1717, allocations: 39.42 kB / 499.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1717, allocations: 0 / 499.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of Templates: time 0.009146/0.1808, allocations: 3.811 MB / 0.4914 GB, free: 15.73 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches