Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2539/0.2539, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 81.91 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1337, allocations: 62.45 MB / 480.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003974/0.1377, allocations: 1.879 MB / 482.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1405, allocations: 1.666 MB / 483.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1406, allocations: 4 kB / 483.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.141, allocations: 51.8 kB / 483.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1414, allocations: 119.5 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1417, allocations: 87.84 kB / 484 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.142, allocations: 203.4 kB / 484.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.1421, allocations: 17.66 kB / 484.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1422, allocations: 91.56 kB / 484.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1424, allocations: 79.56 kB / 484.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1425, allocations: 8 kB / 484.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1427, allocations: 115.9 kB / 484.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.959e-05/0.1428, allocations: 39.78 kB / 484.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.193e-05/0.1429, allocations: 63.59 kB / 484.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1431, allocations: 168 kB / 484.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1432, allocations: 0 / 484.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1432, allocations: 0 / 484.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1432, allocations: 0 / 484.8 MB, free: 0.9688 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007764/0.144, allocations: 494.5 kB / 485.3 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.144, allocations: 12.03 kB / 485.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.1441, allocations: 20.66 kB / 485.3 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1445, allocations: 256.9 kB / 485.6 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1445, allocations: 4.375 kB / 485.6 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1445, allocations: 8.125 kB / 485.6 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.1448, allocations: 101 kB / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1448, allocations: 0 / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1448, allocations: 0 / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1448, allocations: 0 / 485.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.145, allocations: 31.97 kB / 485.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.1453, allocations: 230.4 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1455, allocations: 105.1 kB / 486 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.903e-05/0.1456, allocations: 45.64 kB / 486.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1457, allocations: 4 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.146, allocations: 113 kB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.146, allocations: 0 / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004882/0.1465, allocations: 173.4 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.939e-05/0.1466, allocations: 132.5 kB / 486.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.1469, allocations: 233.6 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.147, allocations: 33.7 kB / 486.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.147, allocations: 112.1 kB / 486.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.1471, allocations: 27.66 kB / 486.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1472, allocations: 29.7 kB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1473, allocations: 330.8 kB / 487.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.1474, allocations: 35.98 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1476, allocations: 65.14 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.1478, allocations: 99.88 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1478, allocations: 0 / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00028/0.1481, allocations: 141.2 kB / 487.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1481, allocations: 8 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1481, allocations: 0 / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1481, allocations: 0 / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1483, allocations: 23.98 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1483, allocations: 0 / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.1484, allocations: 8 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1484, allocations: 8.062 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001394/0.1485, allocations: 142.2 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.1486, allocations: 19.72 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.1486, allocations: 24.98 kB / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1486, allocations: 0 / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1487, allocations: 4 kB / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1487, allocations: 0 / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1489, allocations: 225.4 kB / 488 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1489, allocations: 0 / 488 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.979e-05/0.149, allocations: 12 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.149, allocations: 0 / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.149, allocations: 7.938 kB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.149, allocations: 4.062 kB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.149, allocations: 4 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.1493, allocations: 177.6 kB / 488.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/0.1494, allocations: 88.92 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.1495, allocations: 8 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1496, allocations: 7.984 kB / 488.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1496, allocations: 7.984 kB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1496, allocations: 11.94 kB / 488.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1498, allocations: 176.5 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1498, allocations: 0 / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1502, allocations: 51.98 kB / 488.6 MB, free: 12.79 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00176/0.1519, allocations: 0.4906 MB / 489.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.1522, allocations: 87.84 kB / 489.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1522, allocations: 0 / 489.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1523, allocations: 39.92 kB / 489.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1527, allocations: 60.48 kB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.1534, allocations: 349.5 kB / 489.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1538, allocations: 0.7242 MB / 490.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.1539, allocations: 27.42 kB / 490.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1539, allocations: 3.938 kB / 490.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Templates: time 0.006038/0.1599, allocations: 3.162 MB / 493.5 MB, free: 7.969 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches