Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008906/0.0008906, allocations: 91.38 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 199.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 9.68 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.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 63.55 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00231/0.1428, allocations: 1.442 MB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1446, allocations: 0.9902 MB / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.1446, allocations: 0 / 485.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.145, allocations: 59.8 kB / 485.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1452, allocations: 83.73 kB / 485.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.1454, allocations: 67.86 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1456, allocations: 107.6 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.1457, allocations: 4 kB / 485.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.1458, allocations: 39.8 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.1459, allocations: 39.77 kB / 485.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1459, allocations: 4 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.146, allocations: 43.92 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1461, allocations: 31.91 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.1462, allocations: 77.31 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1464, allocations: 127.8 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1464, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1464, allocations: 0 / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1464, allocations: 0 / 486.2 MB, free: 1.004 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006004/0.147, allocations: 430.8 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1471, allocations: 8.875 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1471, allocations: 16.75 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1474, allocations: 227.8 kB / 486.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1474, allocations: 8.375 kB / 486.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1475, allocations: 8.125 kB / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1476, allocations: 53.67 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1477, allocations: 4 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1477, allocations: 0 / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1477, allocations: 3.984 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.1478, allocations: 19.98 kB / 486.9 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1482, allocations: 304.8 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1484, allocations: 58.67 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1485, allocations: 16.86 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1485, allocations: 3.984 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1487, allocations: 71.33 kB / 487.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1487, allocations: 4 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006681/0.1494, allocations: 177 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1495, allocations: 63.33 kB / 487.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.1498, allocations: 280.2 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1498, allocations: 25.7 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.1499, allocations: 116.1 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.15, allocations: 27.64 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.15, allocations: 17.72 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1501, allocations: 334.8 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.1502, allocations: 20 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.1503, allocations: 33.7 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1504, allocations: 65.77 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1504, allocations: 3.938 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.1506, allocations: 105.5 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1507, allocations: 4 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1507, allocations: 0 / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.1507, allocations: 3.984 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1508, allocations: 19.94 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1509, allocations: 0 / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.1509, allocations: 11.94 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1509, allocations: 192 / 488.7 MB, free: 14.27 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 (10): * Single equations (assignments): 10 * 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.0001585/0.1511, allocations: 141.8 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1512, allocations: 23.78 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.1512, allocations: 17.41 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.1512, allocations: 4 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1512, allocations: 0 / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1513, allocations: 7.922 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.1518, allocations: 403.2 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1518, allocations: 4 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.1518, allocations: 4.031 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1518, allocations: 8 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1518, allocations: 4.312 kB / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1518, allocations: 0 / 489.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.1518, allocations: 8 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1521, allocations: 208.1 kB / 489.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1522, allocations: 96.91 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1522, allocations: 11.94 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1523, allocations: 0 / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.1523, allocations: 7.984 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1524, allocations: 8 kB / 489.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1526, allocations: 216.6 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1526, allocations: 0 / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1528, allocations: 20 kB / 489.8 MB, free: 13 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: 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 (8): * Single equations (assignments): 6 * 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.001195/0.154, allocations: 467.8 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1542, allocations: 55.97 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1542, allocations: 0 / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1543, allocations: 31.92 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1547, allocations: 28.11 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.1553, allocations: 334.9 kB / 490.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1556, allocations: 0.7199 MB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.712e-05/0.1557, allocations: 16.86 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.1557, allocations: 19.44 kB / 491.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1558, allocations: 0 / 491.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of Templates: time 0.004834/0.1606, allocations: 1.668 MB / 493.2 MB, free: 9.785 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches