Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 77.03 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.135, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003837/0.1388, allocations: 1.581 MB / 482.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.14, allocations: 0.5494 MB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.1401, allocations: 0 / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1403, allocations: 27.84 kB / 482.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.1407, allocations: 87.61 kB / 482.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1411, allocations: 103.7 kB / 483 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1413, allocations: 63.84 kB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1414, allocations: 19.98 kB / 483.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.1415, allocations: 23.86 kB / 483.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.1416, allocations: 23.86 kB / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1416, allocations: 0 / 483.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1417, allocations: 35.98 kB / 483.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.1418, allocations: 11.94 kB / 483.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.1419, allocations: 31.78 kB / 483.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1421, allocations: 79.73 kB / 483.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1421, allocations: 0 / 483.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1421, allocations: 0 / 483.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1421, allocations: 4 kB / 483.3 MB, free: 2.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005556/0.1427, allocations: 395.3 kB / 483.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1427, allocations: 8.031 kB / 483.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1428, allocations: 12.83 kB / 483.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.143, allocations: 195.8 kB / 483.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.143, allocations: 384 / 483.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.143, allocations: 7.938 kB / 483.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1432, allocations: 53.61 kB / 484 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1432, allocations: 7.906 kB / 484 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1432, allocations: 3.984 kB / 484 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1432, allocations: 4 kB / 484 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1434, allocations: 19.98 kB / 484 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1438, allocations: 288.8 kB / 484.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.144, allocations: 46.56 kB / 484.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.1441, allocations: 20.94 kB / 484.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1441, allocations: 0 / 484.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1442, allocations: 30.56 kB / 484.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1442, allocations: 0 / 484.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006144/0.1448, allocations: 157.3 kB / 484.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1448, allocations: 51.41 kB / 484.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.145, allocations: 178.4 kB / 484.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1451, allocations: 25.7 kB / 484.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.1451, allocations: 107.9 kB / 484.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1452, allocations: 19.73 kB / 484.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.1452, allocations: 17.72 kB / 484.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1453, allocations: 322.8 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.1454, allocations: 23.98 kB / 485.3 MB, free: 472 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.1455, allocations: 24.05 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1457, allocations: 48.83 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1457, allocations: 0 / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.1459, allocations: 89.56 kB / 485.4 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1459, allocations: 6.5 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1459, allocations: 4 kB / 485.5 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1459, allocations: 0 / 485.5 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.146, allocations: 19.92 kB / 485.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.146, allocations: 0 / 485.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.1461, allocations: 7.938 kB / 485.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1461, allocations: 3.984 kB / 485.5 MB, free: 260 kB / 350.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 9.971e-05/0.1462, allocations: 117.8 kB / 485.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.1462, allocations: 7.906 kB / 485.6 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1465, allocations: 102 kB / 485.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1465, allocations: 0 / 485.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1465, allocations: 0 / 485.7 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1465, allocations: 3.938 kB / 485.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.147, allocations: 362.5 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.147, allocations: 0 / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.1471, allocations: 20.3 kB / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1471, allocations: 0 / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1471, allocations: 3.938 kB / 486.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1471, allocations: 7.938 kB / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1471, allocations: 0 / 486.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1474, allocations: 187.3 kB / 486.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.1474, allocations: 85.02 kB / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1475, allocations: 11.94 kB / 486.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.1475, allocations: 7.984 kB / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1476, allocations: 0 / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1476, allocations: 4 kB / 486.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1477, allocations: 138.3 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1477, allocations: 3.938 kB / 486.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.148, allocations: 16 kB / 486.5 MB, free: 15.09 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.0009627/0.1489, allocations: 405.7 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1492, allocations: 51.91 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1492, allocations: 0 / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.1493, allocations: 27.97 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1496, allocations: 19.97 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.1502, allocations: 231.6 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1505, allocations: 0.6963 MB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1505, allocations: 15.42 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1505, allocations: 0 / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of Templates: time 0.003585/0.1541, allocations: 1.509 MB / 489.5 MB, free: 12.22 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches