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.001164/0.001164, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.00125, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 76.16 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1424, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003894/0.1464, allocations: 2.031 MB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1489, allocations: 1.356 MB / 484.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1491, allocations: 7.938 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1494, allocations: 59.56 kB / 484.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.1499, allocations: 207.1 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1512, allocations: 0.5988 MB / 485.7 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1516, allocations: 311.2 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.1518, allocations: 80.69 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.152, allocations: 135.4 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1523, allocations: 187.3 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1523, allocations: 12 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1525, allocations: 63.98 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1526, allocations: 147.4 kB / 486.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1528, allocations: 170.6 kB / 486.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.1533, allocations: 398.4 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1533, allocations: 4 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1533, allocations: 0 / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1533, allocations: 0 / 487.2 MB, free: 14.75 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.001175/0.1545, allocations: 0.7735 MB / 488 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1546, allocations: 12.03 kB / 488 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.1549, allocations: 72.17 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.1556, allocations: 467.7 kB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1556, allocations: 20.31 kB / 488.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.1557, allocations: 12.12 kB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1559, allocations: 143.2 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.156, allocations: 0 / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.156, allocations: 8 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.156, allocations: 0 / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1562, allocations: 95.92 kB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009453/0.1572, allocations: 0.6916 MB / 489.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1574, allocations: 109.2 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1575, allocations: 57.75 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1576, allocations: 4 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1576, allocations: 34.5 kB / 489.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1576, allocations: 0 / 489.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001339/0.159, allocations: 0.5447 MB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.159, allocations: 81.11 kB / 490.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1601, allocations: 0.9026 MB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1601, allocations: 29.7 kB / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1603, allocations: 264.2 kB / 491.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.1604, allocations: 55.2 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.1605, allocations: 41.64 kB / 491.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1607, allocations: 374.7 kB / 491.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.1608, allocations: 63.94 kB / 492 MB, free: 9.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.161, allocations: 81.67 kB / 492.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1614, allocations: 157.6 kB / 492.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1614, allocations: 0 / 492.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004419/0.1618, allocations: 244.9 kB / 492.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1618, allocations: 4 kB / 492.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1618, allocations: 320 / 492.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1619, allocations: 0 / 492.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1621, allocations: 39.97 kB / 492.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1621, allocations: 4 kB / 492.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1622, allocations: 16.64 kB / 492.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1622, allocations: 11.98 kB / 492.5 MB, free: 9.109 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.0002223/0.1625, allocations: 213.7 kB / 492.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.1626, allocations: 59.33 kB / 492.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.1632, allocations: 298.2 kB / 493.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1632, allocations: 0 / 493.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1632, allocations: 0 / 493.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1632, allocations: 7.984 kB / 493.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.1643, allocations: 0.7982 MB / 493.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1643, allocations: 0 / 493.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1644, allocations: 35.97 kB / 493.9 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1645, allocations: 3.938 kB / 494 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1645, allocations: 4 kB / 494 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1645, allocations: 3.938 kB / 494 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1645, allocations: 0 / 494 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.165, allocations: 418.2 kB / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.1652, allocations: 136.4 kB / 494.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1652, allocations: 8 kB / 494.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1654, allocations: 11.92 kB / 494.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.1655, allocations: 15.98 kB / 494.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1655, allocations: 11.98 kB / 494.5 MB, free: 6.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006603/0.1661, allocations: 0.663 MB / 495.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1662, allocations: 0 / 495.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.1665, allocations: 56 kB / 495.3 MB, free: 6.285 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.0009619/0.1675, allocations: 414.5 kB / 495.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.1679, allocations: 159.8 kB / 495.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1679, allocations: 0 / 495.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.1681, allocations: 91.88 kB / 495.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.1686, allocations: 81.22 kB / 496 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1699, allocations: 0.935 MB / 496.9 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.1704, allocations: 0.877 MB / 497.8 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1706, allocations: 91.84 kB / 497.9 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.1707, allocations: 43.36 kB / 497.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1707, allocations: 0 / 497.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of Templates: time 0.007913/0.1786, allocations: 4.06 MB / 0.4902 GB, free: 15.64 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches