Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2414/0.2414, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 83.34 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1415, allocations: 62.44 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004869/0.1464, allocations: 1.75 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1488, allocations: 1.029 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.149, allocations: 0 / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.1495, allocations: 83.7 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1501, allocations: 115.6 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1504, allocations: 87.66 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1508, allocations: 119.7 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1509, allocations: 15.98 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1511, allocations: 55.7 kB / 484.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1513, allocations: 55.77 kB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1513, allocations: 4 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1515, allocations: 63.97 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.061e-05/0.1516, allocations: 27.91 kB / 484.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.952e-05/0.1517, allocations: 43.69 kB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1521, allocations: 135.5 kB / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1521, allocations: 0 / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1521, allocations: 0 / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1521, allocations: 0 / 485 MB, free: 0.957 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.0008034/0.1529, allocations: 434.9 kB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.153, allocations: 8.031 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.1531, allocations: 16.75 kB / 485.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.1535, allocations: 216 kB / 485.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1535, allocations: 4.375 kB / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1536, allocations: 8.062 kB / 485.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1537, allocations: 65.61 kB / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1538, allocations: 0 / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1538, allocations: 0 / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1538, allocations: 4 kB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.1539, allocations: 27.95 kB / 485.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1544, allocations: 304.8 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1546, allocations: 62.48 kB / 486.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1547, allocations: 24.97 kB / 486.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1547, allocations: 0 / 486.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1549, allocations: 67.39 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1549, allocations: 4 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008286/0.1557, allocations: 245 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1558, allocations: 59.34 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1561, allocations: 220.3 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1561, allocations: 25.7 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.1562, allocations: 108.1 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.1562, allocations: 39.48 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.1563, allocations: 25.72 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1565, allocations: 330.8 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.1566, allocations: 27.98 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.1567, allocations: 49.69 kB / 487.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1568, allocations: 77.66 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1568, allocations: 0 / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002478/0.1571, allocations: 137.4 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1571, allocations: 4 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1571, allocations: 0 / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1571, allocations: 0 / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.1572, allocations: 23.98 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1573, allocations: 7.875 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.1573, allocations: 4 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1573, allocations: 4 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001217/0.1575, allocations: 140.5 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.1575, allocations: 15.81 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.1576, allocations: 25.33 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1576, allocations: 0 / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1576, allocations: 3.938 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1576, allocations: 0 / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.1582, allocations: 459.9 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1582, allocations: 4.062 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.1583, allocations: 12 kB / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1583, allocations: 0 / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1583, allocations: 7.984 kB / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1583, allocations: 0 / 488.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1583, allocations: 4 kB / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1586, allocations: 241 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.1587, allocations: 88.92 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1587, allocations: 3.984 kB / 488.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.1588, allocations: 4 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.1589, allocations: 11.98 kB / 488.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1589, allocations: 7.938 kB / 488.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1591, allocations: 165.3 kB / 488.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1591, allocations: 3.938 kB / 488.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002981/0.1594, allocations: 27.98 kB / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001329/0.1607, allocations: 0.5072 MB / 489.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1609, allocations: 79.84 kB / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.161, allocations: 0 / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.161, allocations: 39.92 kB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1614, allocations: 42 kB / 489.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.162, allocations: 272.8 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1623, allocations: 0.7159 MB / 490.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.1624, allocations: 20.64 kB / 490.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1625, allocations: 19.38 kB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1625, allocations: 3.938 kB / 490.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Templates: time 0.005385/0.1679, allocations: 2.008 MB / 492.5 MB, free: 9.266 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches