Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 97.94 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002202/0.002202, allocations: 194.3 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002837, allocations: 12.2 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 63.56 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002237/0.1502, allocations: 1.501 MB / 483.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1519, allocations: 1.013 MB / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.152, allocations: 8 kB / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.1525, allocations: 299.3 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.153, allocations: 227.4 kB / 485.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1532, allocations: 83.84 kB / 485.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.1536, allocations: 219.3 kB / 485.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.1537, allocations: 13.67 kB / 485.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1539, allocations: 115.6 kB / 485.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1542, allocations: 171.5 kB / 486 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1542, allocations: 4 kB / 486 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1543, allocations: 36 kB / 486.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1545, allocations: 139.6 kB / 486.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.098e-05/0.1546, allocations: 81.39 kB / 486.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1549, allocations: 279.8 kB / 486.6 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1549, allocations: 3.938 kB / 486.6 MB, free: 360 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1549, allocations: 0 / 486.6 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1549, allocations: 0 / 486.6 MB, free: 360 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009033/0.1558, allocations: 0.6803 MB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1559, allocations: 12.03 kB / 487.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.1559, allocations: 51.42 kB / 487.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.1566, allocations: 438.9 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1566, allocations: 0 / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1567, allocations: 4 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1569, allocations: 91.33 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1569, allocations: 0 / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1569, allocations: 0 / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1569, allocations: 8 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.157, allocations: 31.92 kB / 487.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1575, allocations: 382.3 kB / 488.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1577, allocations: 105.2 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1579, allocations: 37.7 kB / 488.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1579, allocations: 3.938 kB / 488.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.1582, allocations: 105.1 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1582, allocations: 4 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005038/0.1587, allocations: 196.9 kB / 488.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.1588, allocations: 81.11 kB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1599, allocations: 1.05 MB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1599, allocations: 29.7 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.1601, allocations: 236.1 kB / 490.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.1602, allocations: 31.56 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.1602, allocations: 4 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1604, allocations: 374.7 kB / 490.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1605, allocations: 27.98 kB / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.1606, allocations: 58.92 kB / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.1607, allocations: 35.94 kB / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1607, allocations: 4 kB / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002744/0.161, allocations: 165 kB / 490.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.161, allocations: 7.984 kB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.161, allocations: 0 / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/0.1611, allocations: 7.938 kB / 490.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1612, allocations: 24.5 kB / 490.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1612, allocations: 3.984 kB / 490.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.1614, allocations: 15.94 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1614, allocations: 12.05 kB / 490.8 MB, free: 11.82 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.1616, allocations: 234.2 kB / 491.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.1617, allocations: 51.34 kB / 491.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.449e-05/0.1618, allocations: 56.14 kB / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.1618, allocations: 4 kB / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1618, allocations: 0 / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1618, allocations: 0 / 491.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1622, allocations: 349.3 kB / 491.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1622, allocations: 7.953 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.1622, allocations: 7.984 kB / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1622, allocations: 4 kB / 491.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1623, allocations: 4 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1623, allocations: 0 / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1623, allocations: 0 / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.1626, allocations: 197.3 kB / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1627, allocations: 148.4 kB / 491.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.1628, allocations: 8 kB / 491.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.1629, allocations: 11.98 kB / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.163, allocations: 11.97 kB / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.163, allocations: 4 kB / 491.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000866/0.1639, allocations: 0.7838 MB / 492.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 0 / 492.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1642, allocations: 47.98 kB / 492.7 MB, free: 9.812 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.1655, allocations: 418.9 kB / 493.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1658, allocations: 79.91 kB / 493.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1658, allocations: 0 / 493.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.166, allocations: 43.92 kB / 493.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.1665, allocations: 61.64 kB / 493.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.1681, allocations: 0.9323 MB / 494.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.1687, allocations: 0.8469 MB / 495.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.1688, allocations: 58.94 kB / 495.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.1689, allocations: 27.44 kB / 495.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1689, allocations: 0 / 495.2 MB, free: 7.43 MB / 366.1 MB Notification: Performance of Templates: time 0.00887/0.1778, allocations: 3.428 MB / 498.6 MB, free: 4.012 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches