Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00206/0.002061, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 83.16 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1543, allocations: 62.46 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003531/0.1579, allocations: 1.615 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.159, allocations: 0.5455 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.1591, allocations: 0 / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1595, allocations: 75.77 kB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.1599, allocations: 107.5 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1602, allocations: 111.7 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1604, allocations: 79.88 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1605, allocations: 19.98 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.1606, allocations: 39.83 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1607, allocations: 55.83 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1608, allocations: 11.94 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.845e-05/0.1609, allocations: 35.98 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1609, allocations: 23.92 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.161, allocations: 35.73 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1612, allocations: 103.7 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1612, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1612, allocations: 0 / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1612, allocations: 0 / 483 MB, free: 2.355 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.0005745/0.1618, allocations: 419.1 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1619, allocations: 16.03 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1619, allocations: 8.844 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1622, allocations: 200.8 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1622, allocations: 384 / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1622, allocations: 4.375 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1624, allocations: 57.8 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1624, allocations: 0 / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1625, allocations: 0 / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1625, allocations: 4 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1626, allocations: 27.98 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.1631, allocations: 316.6 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.1633, allocations: 38.56 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.1633, allocations: 20.94 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1634, allocations: 4 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1634, allocations: 30.56 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.1634, allocations: 0 / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009755/0.1644, allocations: 249.3 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1644, allocations: 55.41 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1647, allocations: 218.3 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1647, allocations: 29.7 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.1648, allocations: 108.1 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1648, allocations: 23.56 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1649, allocations: 25.7 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1651, allocations: 326.8 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1652, allocations: 28.16 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.1653, allocations: 35.97 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1655, allocations: 72.83 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1655, allocations: 3.938 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.1657, allocations: 109.6 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1657, allocations: 11.98 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1657, allocations: 0 / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1658, allocations: 4 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1659, allocations: 19.98 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1659, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.166, allocations: 3.938 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.166, allocations: 4 kB / 485.4 MB, free: 15.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 (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.0001126/0.1661, allocations: 129.8 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.1661, allocations: 11.81 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.1664, allocations: 138.9 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1665, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1665, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1665, allocations: 3.938 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.167, allocations: 423.3 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1671, allocations: 4.031 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.1671, allocations: 15.98 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1671, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1672, allocations: 4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1672, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1672, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1674, allocations: 224.1 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1675, allocations: 92.94 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1675, allocations: 0 / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1676, allocations: 8 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1677, allocations: 11.98 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1677, allocations: 8 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1678, allocations: 164.2 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1678, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1681, allocations: 16 kB / 486.6 MB, free: 14.36 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.001661/0.1698, allocations: 457.1 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.17, allocations: 87.86 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1701, allocations: 0 / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.1702, allocations: 35.92 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1705, allocations: 19.98 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.1711, allocations: 266.9 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1715, allocations: 0.7118 MB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.1715, allocations: 20.66 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1716, allocations: 19.44 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1716, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.004546/0.1762, allocations: 1.399 MB / 489.6 MB, free: 11.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches