Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007908/0.0007909, allocations: 95.94 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009678/0.0009678, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 247.5 MB, free: 9.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1895/0.1895, allocations: 46.19 MB / 345.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002824/0.1424, allocations: 1.438 MB / 485.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1447, allocations: 0.9863 MB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.1449, allocations: 0 / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1452, allocations: 39.83 kB / 486.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.1456, allocations: 83.73 kB / 486.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1459, allocations: 59.88 kB / 486.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1461, allocations: 107.6 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1462, allocations: 4 kB / 486.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1464, allocations: 43.77 kB / 486.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.1465, allocations: 31.8 kB / 486.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1465, allocations: 0 / 486.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.1467, allocations: 47.98 kB / 486.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.1468, allocations: 27.91 kB / 486.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.1469, allocations: 61.39 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1471, allocations: 84.08 kB / 486.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1471, allocations: 7.938 kB / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1471, allocations: 0 / 486.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1471, allocations: 0 / 486.8 MB, free: 1.078 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.0006383/0.1478, allocations: 395.1 kB / 487.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1478, allocations: 8.875 kB / 487.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1479, allocations: 20.83 kB / 487.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1482, allocations: 204.8 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1482, allocations: 4.375 kB / 487.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1483, allocations: 8.109 kB / 487.4 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1485, allocations: 65.61 kB / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1485, allocations: 0 / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1485, allocations: 0 / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1485, allocations: 0 / 487.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1487, allocations: 19.98 kB / 487.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.1492, allocations: 296.8 kB / 487.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1494, allocations: 58.61 kB / 487.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.1495, allocations: 16.86 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1495, allocations: 4 kB / 487.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1498, allocations: 67.39 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.998e-06/0.1498, allocations: 3.984 kB / 487.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007161/0.1505, allocations: 173.2 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.1506, allocations: 51.41 kB / 488.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.1508, allocations: 190.9 kB / 488.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1509, allocations: 29.7 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.151, allocations: 104.1 kB / 488.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.151, allocations: 27.7 kB / 488.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.1511, allocations: 17.72 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1513, allocations: 326.8 kB / 488.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.1514, allocations: 23.98 kB / 488.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1515, allocations: 37.64 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1517, allocations: 53.7 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1517, allocations: 8 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000306/0.152, allocations: 105.4 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.152, allocations: 4 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.152, allocations: 4 kB / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1521, allocations: 0 / 489 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1522, allocations: 12.19 kB / 489 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1522, allocations: 3.984 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.1523, allocations: 11.88 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1523, allocations: 4 kB / 489.1 MB, free: 14.53 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.0001334/0.1525, allocations: 129.8 kB / 489.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.1525, allocations: 11.89 kB / 489.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.1526, allocations: 21.5 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1526, allocations: 0 / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1526, allocations: 0 / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1526, allocations: 3.938 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.1533, allocations: 403.2 kB / 489.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1533, allocations: 4.031 kB / 489.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.1533, allocations: 8 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1534, allocations: 384 / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1534, allocations: 11.94 kB / 489.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1534, allocations: 4 kB / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1534, allocations: 0 / 489.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1537, allocations: 196.2 kB / 489.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.1538, allocations: 100.9 kB / 489.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1539, allocations: 7.938 kB / 489.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.154, allocations: 0 / 489.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.1541, allocations: 7.984 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.1541, allocations: 8 kB / 490 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.1543, allocations: 148.7 kB / 490.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1543, allocations: 0 / 490.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.1548, allocations: 24 kB / 490.1 MB, free: 13.36 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.001681/0.1565, allocations: 463.9 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1567, allocations: 55.91 kB / 490.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1568, allocations: 4.062 kB / 490.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1569, allocations: 35.92 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1574, allocations: 23.98 kB / 490.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.1581, allocations: 283.9 kB / 491 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1585, allocations: 0.7004 MB / 491.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1586, allocations: 19.44 kB / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1586, allocations: 0 / 491.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005485/0.1641, allocations: 1.935 MB / 493.6 MB, free: 9.953 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches