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.001417/0.001417, 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.001642/0.001642, 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.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003167/0.1324, allocations: 1.692 MB / 483.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.134, allocations: 1.002 MB / 484.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.1341, allocations: 4 kB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1344, allocations: 51.77 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.1347, allocations: 103.6 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.1349, allocations: 71.67 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1351, allocations: 103.7 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.1351, allocations: 4.234 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.1352, allocations: 43.78 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.839e-05/0.1353, allocations: 27.84 kB / 484.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1353, allocations: 4 kB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.1354, allocations: 27.94 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1355, allocations: 31.86 kB / 484.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.1355, allocations: 43.66 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1357, allocations: 123.6 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1358, allocations: 0 / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1358, allocations: 8 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1358, allocations: 0 / 484.8 MB, free: 1.195 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.0005748/0.1364, allocations: 422.8 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1364, allocations: 12.03 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1365, allocations: 12.75 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1368, allocations: 232.8 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1368, allocations: 4.359 kB / 485.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1368, allocations: 8.125 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.137, allocations: 49.67 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.137, allocations: 0 / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.137, allocations: 3.984 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.137, allocations: 4 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.1371, allocations: 12 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.1373, allocations: 189.7 kB / 485.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1375, allocations: 58.55 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1375, allocations: 20.8 kB / 485.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1375, allocations: 4 kB / 485.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1377, allocations: 63.39 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1377, allocations: 3.938 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002835/0.138, allocations: 105.4 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.1381, allocations: 55.41 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.1383, allocations: 267 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1384, allocations: 25.7 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1384, allocations: 116.1 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1385, allocations: 11.84 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.1385, allocations: 21.7 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1386, allocations: 326.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.1387, allocations: 12 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/0.1388, allocations: 33.7 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1389, allocations: 45.64 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1389, allocations: 0 / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001558/0.1391, allocations: 85.69 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1391, allocations: 4 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1391, allocations: 8.062 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1391, allocations: 0 / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.1392, allocations: 19.95 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1392, allocations: 0 / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.1393, allocations: 15.84 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1393, allocations: 0 / 487 MB, free: 14.75 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.000122/0.1394, allocations: 136.4 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1394, allocations: 11.91 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.1395, allocations: 21.14 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1395, allocations: 0 / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1395, allocations: 0 / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1395, allocations: 4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1396, allocations: 205.5 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1396, allocations: 4 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1397, allocations: 0 / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1397, allocations: 4 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1397, allocations: 3.984 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1397, allocations: 0 / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1397, allocations: 3.984 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1399, allocations: 116.9 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.1399, allocations: 88.91 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.14, allocations: 7.938 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.14, allocations: 4 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.14, allocations: 4 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1401, allocations: 3.984 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1402, allocations: 204.4 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1402, allocations: 0 / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.1404, allocations: 16 kB / 487.8 MB, free: 13.84 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.0008515/0.1413, allocations: 407.4 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1415, allocations: 43.92 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1415, allocations: 0 / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.1415, allocations: 16 kB / 488.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1418, allocations: 35.03 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.1423, allocations: 270.5 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1426, allocations: 0.7205 MB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.1427, allocations: 8.562 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.1427, allocations: 19.36 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1427, allocations: 4 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004012/0.1468, allocations: 1.525 MB / 490.8 MB, free: 10.9 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches