Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 104.1 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.001934/0.001934, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 72.77 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1366, allocations: 62.44 MB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00318/0.1398, allocations: 1.612 MB / 481.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1409, allocations: 0.5494 MB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.141, allocations: 4 kB / 482.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.1413, allocations: 75.7 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.1417, allocations: 99.59 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.1421, allocations: 123.6 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.1424, allocations: 79.83 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1425, allocations: 12 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.1426, allocations: 39.83 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1427, allocations: 59.81 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1427, allocations: 4 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1429, allocations: 47.92 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.1429, allocations: 19.92 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.143, allocations: 31.73 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1432, allocations: 103.7 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1432, allocations: 0 / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1432, allocations: 7.938 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1432, allocations: 3.938 kB / 482.9 MB, free: 2.434 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.0005493/0.1438, allocations: 415.2 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1438, allocations: 8.031 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.1439, allocations: 8.844 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1441, allocations: 196.8 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1441, allocations: 12.31 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1442, allocations: 4.359 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1443, allocations: 61.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1443, allocations: 0 / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1443, allocations: 0 / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1444, allocations: 4 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1445, allocations: 27.97 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1449, allocations: 304.7 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.145, allocations: 50.48 kB / 483.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.1451, allocations: 24.94 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1451, allocations: 4 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1451, allocations: 30.56 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1451, allocations: 0 / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009197/0.1461, allocations: 237 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1461, allocations: 51.41 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1463, allocations: 222.2 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1464, allocations: 33.64 kB / 484.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.1464, allocations: 100.1 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.1465, allocations: 35.61 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1465, allocations: 21.72 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1467, allocations: 322.8 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.1468, allocations: 35.97 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1469, allocations: 32.06 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.147, allocations: 72.81 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1471, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002274/0.1473, allocations: 109.6 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1473, allocations: 4 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1473, allocations: 0 / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1473, allocations: 4 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1475, allocations: 19.92 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1475, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.1475, allocations: 15.92 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1475, allocations: 4 kB / 485.3 MB, free: 15.79 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.0001119/0.1477, allocations: 117.8 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.1477, allocations: 23.81 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.148, allocations: 138.9 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.1481, allocations: 7.938 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1481, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1481, allocations: 3.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.1486, allocations: 415.3 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1486, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.1487, allocations: 20.41 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1487, allocations: 3.938 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1488, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1488, allocations: 7.984 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1488, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.1491, allocations: 224.5 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.1491, allocations: 92.94 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1492, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.1492, allocations: 11.98 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1493, allocations: 8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1493, allocations: 3.938 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1494, allocations: 168.2 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1494, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1497, allocations: 20 kB / 486.5 MB, free: 14.43 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.00122/0.1509, allocations: 446 kB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1512, allocations: 79.89 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1512, allocations: 0 / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1514, allocations: 43.91 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.1518, allocations: 22.94 kB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.1524, allocations: 270.9 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1528, allocations: 0.7118 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.1529, allocations: 20.97 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1529, allocations: 11.44 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 9.007e-06/0.1529, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004579/0.1575, allocations: 1.398 MB / 489.5 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches