Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001564/0.001564, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 75.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1396, allocations: 62.44 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00409/0.1438, allocations: 1.926 MB / 483.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1456, allocations: 1.125 MB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.1457, allocations: 7.938 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1462, allocations: 163.5 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.1466, allocations: 179.3 kB / 484.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1468, allocations: 115.6 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.1471, allocations: 243.3 kB / 485.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1473, allocations: 29.67 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1474, allocations: 111.5 kB / 485.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1476, allocations: 135.5 kB / 485.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1476, allocations: 12 kB / 485.5 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1478, allocations: 67.97 kB / 485.6 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.1479, allocations: 47.78 kB / 485.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.148, allocations: 87.34 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.1482, allocations: 223.2 kB / 485.9 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1483, allocations: 0 / 485.9 MB, free: 72 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1483, allocations: 0 / 485.9 MB, free: 72 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1483, allocations: 0 / 485.9 MB, free: 72 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007883/0.1491, allocations: 0.541 MB / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1491, allocations: 12.03 kB / 486.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.1492, allocations: 24.66 kB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.1496, allocations: 275.5 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1496, allocations: 8.312 kB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.1496, allocations: 20.05 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.1499, allocations: 107.3 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1499, allocations: 0 / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1499, allocations: 8 kB / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1499, allocations: 0 / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.1501, allocations: 47.91 kB / 486.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.1506, allocations: 468.7 kB / 487.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1509, allocations: 129.2 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.151, allocations: 45.83 kB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1511, allocations: 0 / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1513, allocations: 121 kB / 487.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1513, allocations: 0 / 487.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001232/0.1526, allocations: 492.5 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.1526, allocations: 85.11 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.153, allocations: 371.3 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.153, allocations: 33.7 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.1531, allocations: 152.4 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.1532, allocations: 71.08 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.1533, allocations: 41.7 kB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1534, allocations: 342.8 kB / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1535, allocations: 55.97 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1537, allocations: 91.34 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.1539, allocations: 159.3 kB / 489.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1539, allocations: 0 / 489.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003647/0.1543, allocations: 229.4 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1543, allocations: 11.94 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1544, allocations: 0 / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1544, allocations: 4.062 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1545, allocations: 51.91 kB / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1545, allocations: 4 kB / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.1546, allocations: 8 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1546, allocations: 4 kB / 489.8 MB, free: 11.84 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001365/0.1548, allocations: 169.7 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1548, allocations: 31.56 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.1549, allocations: 37.83 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1549, allocations: 4 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1549, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.155, allocations: 11.98 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008229/0.1558, allocations: 0.7077 MB / 490.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1558, allocations: 8.062 kB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.858e-05/0.1559, allocations: 35.98 kB / 490.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1559, allocations: 0 / 490.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1559, allocations: 4 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1559, allocations: 4 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1559, allocations: 192 / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.1563, allocations: 433.1 kB / 491.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.1564, allocations: 96.83 kB / 491.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.1565, allocations: 11.98 kB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1566, allocations: 4 kB / 491.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.1567, allocations: 27.86 kB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.1567, allocations: 15.98 kB / 491.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.1569, allocations: 273.9 kB / 491.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1569, allocations: 0 / 491.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1573, allocations: 51.98 kB / 491.7 MB, free: 9.812 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001125/0.1584, allocations: 0.4991 MB / 492.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.1587, allocations: 163.8 kB / 492.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1587, allocations: 8.062 kB / 492.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.1589, allocations: 79.84 kB / 492.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.1594, allocations: 60.59 kB / 492.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.1601, allocations: 0.5006 MB / 493 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1604, allocations: 0.7597 MB / 493.8 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.1605, allocations: 37.92 kB / 493.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.1606, allocations: 27.44 kB / 493.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of SimCode: time 3.186e-06/0.1606, allocations: 0 / 493.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of Templates: time 0.006176/0.1668, allocations: 3.122 MB / 497 MB, free: 4.707 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches