Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008437/0.0008438, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009645/0.0009643, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002506/0.1351, allocations: 1.407 MB / 484.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.1369, allocations: 0.9668 MB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.137, allocations: 8 kB / 485.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1373, allocations: 55.8 kB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.1375, allocations: 83.73 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.1377, allocations: 55.88 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1379, allocations: 103.6 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.138, allocations: 8.234 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.1381, allocations: 43.78 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.1382, allocations: 31.84 kB / 485.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1382, allocations: 0 / 485.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.1383, allocations: 31.98 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.1384, allocations: 35.78 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.1384, allocations: 61.39 kB / 486 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1387, allocations: 123.8 kB / 486.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1387, allocations: 4 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1387, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1387, allocations: 0 / 486.1 MB, free: 1.094 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005994/0.1393, allocations: 413.5 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1394, allocations: 12.88 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.1394, allocations: 12.75 kB / 486.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1396, allocations: 220.9 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1397, allocations: 384 / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1397, allocations: 8.125 kB / 486.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1398, allocations: 57.66 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1399, allocations: 0 / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1399, allocations: 0 / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1399, allocations: 0 / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.14, allocations: 15.98 kB / 486.8 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.1402, allocations: 197.6 kB / 487 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1404, allocations: 54.61 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1405, allocations: 24.73 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1405, allocations: 0 / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1407, allocations: 71.38 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 4.448e-06/0.1407, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003293/0.141, allocations: 101.4 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1411, allocations: 59.41 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.1414, allocations: 267 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1414, allocations: 25.7 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.1415, allocations: 112.1 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1415, allocations: 15.8 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.1416, allocations: 13.72 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1417, allocations: 326.8 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.1418, allocations: 15.98 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.1418, allocations: 25.72 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.142, allocations: 49.64 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.142, allocations: 0 / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.1421, allocations: 85.44 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1422, allocations: 7.984 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1422, allocations: 0 / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1422, allocations: 4 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.1423, allocations: 15.97 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1423, allocations: 0 / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.1423, allocations: 12.25 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1423, allocations: 0 / 488.3 MB, free: 14.68 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 (7): * Single equations (assignments): 7 * 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.0001263/0.1425, allocations: 136.4 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1425, allocations: 23.8 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.1426, allocations: 17 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1426, allocations: 0 / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1426, allocations: 0 / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1426, allocations: 4 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1428, allocations: 197.6 kB / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1428, allocations: 0 / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.1428, allocations: 7.984 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1428, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1428, allocations: 4 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1428, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1428, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.143, allocations: 124.8 kB / 488.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.1431, allocations: 92.92 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1431, allocations: 0 / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.1432, allocations: 11.86 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1432, allocations: 4 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1432, allocations: 4 kB / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.1434, allocations: 204.4 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1435, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1437, allocations: 24 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009558/0.1446, allocations: 408.3 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1448, allocations: 43.92 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1448, allocations: 0 / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.1449, allocations: 19.98 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.1452, allocations: 27.92 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.1457, allocations: 297.7 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1461, allocations: 0.716 MB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.1462, allocations: 16.53 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.1462, allocations: 15.44 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1462, allocations: 0 / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004402/0.1506, allocations: 1.451 MB / 492.1 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches