Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.001301, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.1 MB / 343.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 74.22 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003486/0.1438, allocations: 2.164 MB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.146, allocations: 1.388 MB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1462, allocations: 4 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1464, allocations: 43.7 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.1469, allocations: 191.3 kB / 483.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1481, allocations: 0.5939 MB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.1485, allocations: 327 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1487, allocations: 68.7 kB / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.149, allocations: 139.3 kB / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1492, allocations: 207.2 kB / 484.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1493, allocations: 8 kB / 484.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1494, allocations: 59.98 kB / 484.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1496, allocations: 151.5 kB / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1498, allocations: 174.5 kB / 484.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.1502, allocations: 402.7 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1502, allocations: 0 / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1502, allocations: 0 / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1502, allocations: 0 / 485.2 MB, free: 15.81 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.001055/0.1513, allocations: 0.8123 MB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1513, allocations: 8.875 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/0.1518, allocations: 92.14 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.1524, allocations: 480.5 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1524, allocations: 12.31 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.1524, allocations: 16.12 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.1528, allocations: 159.2 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1528, allocations: 4 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1528, allocations: 4 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1529, allocations: 0 / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1532, allocations: 119.8 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1542, allocations: 0.7267 MB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1545, allocations: 133.2 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.1547, allocations: 69.8 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1548, allocations: 4 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1548, allocations: 34.5 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1548, allocations: 0 / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002276/0.1571, allocations: 0.7478 MB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.1571, allocations: 93.03 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1582, allocations: 0.9025 MB / 489.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1583, allocations: 25.7 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.1585, allocations: 272.2 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.1585, allocations: 63.11 kB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.1586, allocations: 37.69 kB / 490 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1588, allocations: 386.7 kB / 490.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.1591, allocations: 103.9 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.1594, allocations: 125.6 kB / 490.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.16, allocations: 253.7 kB / 490.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1601, allocations: 3.938 kB / 490.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008386/0.1609, allocations: 340.7 kB / 491.1 MB, free: 9.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.161, allocations: 8.219 kB / 491.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.161, allocations: 0 / 491.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.161, allocations: 3.938 kB / 491.2 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.1613, allocations: 55.89 kB / 491.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1614, allocations: 0 / 491.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1616, allocations: 27.97 kB / 491.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.1616, allocations: 4 kB / 491.2 MB, free: 9.473 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 (20): * Single equations (assignments): 20 * 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.0003428/0.162, allocations: 229.6 kB / 491.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.1622, allocations: 55.25 kB / 491.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000996/0.1632, allocations: 398.2 kB / 491.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1632, allocations: 3.938 kB / 491.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1632, allocations: 4 kB / 491.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1632, allocations: 0 / 491.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1647, allocations: 0.951 MB / 492.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1648, allocations: 0 / 492.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.165, allocations: 59.94 kB / 492.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.165, allocations: 7.938 kB / 492.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.165, allocations: 8 kB / 492.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1651, allocations: 3.938 kB / 492.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1651, allocations: 0 / 492.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.1658, allocations: 0.5096 MB / 493.5 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.166, allocations: 140.3 kB / 493.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.1661, allocations: 8 kB / 493.6 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.1663, allocations: 19.92 kB / 493.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.1664, allocations: 23.91 kB / 493.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1664, allocations: 11.98 kB / 493.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008605/0.1673, allocations: 0.663 MB / 494.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1673, allocations: 0 / 494.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.1678, allocations: 64 kB / 494.4 MB, free: 6.223 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 (20): * Single equations (assignments): 20 * 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.0009844/0.1687, allocations: 408.2 kB / 494.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006869/0.1694, allocations: 261.8 kB / 495 MB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1695, allocations: 4 kB / 495 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1698, allocations: 140.4 kB / 495.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.1705, allocations: 75.08 kB / 495.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1721, allocations: 1.156 MB / 496.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.1726, allocations: 0.889 MB / 497.3 MB, free: 3.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000256/0.1729, allocations: 99.19 kB / 497.4 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.173, allocations: 43.36 kB / 497.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.173, allocations: 4 kB / 497.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of Templates: time 0.008697/0.1817, allocations: 4.213 MB / 0.4899 GB, free: 15.04 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches