Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007784/0.0007784, allocations: 91.17 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.0009915/0.0009915, allocations: 203.2 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.56/1.56, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002871, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 63.55 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00218/0.1392, allocations: 1.446 MB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1417, allocations: 1.577 MB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.1419, allocations: 4 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1422, allocations: 35.83 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1426, allocations: 83.73 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1428, allocations: 55.89 kB / 486.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.143, allocations: 107.6 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1431, allocations: 7.984 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1433, allocations: 39.8 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1434, allocations: 47.77 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1435, allocations: 4 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1437, allocations: 99.88 kB / 486.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1437, allocations: 23.86 kB / 486.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.1438, allocations: 57.48 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1441, allocations: 167.8 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1441, allocations: 0 / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1442, allocations: 0 / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1442, allocations: 0 / 486.8 MB, free: 400 kB / 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.0007011/0.1449, allocations: 417.4 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1449, allocations: 8.875 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.145, allocations: 8.844 kB / 487.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1452, allocations: 208.7 kB / 487.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1453, allocations: 7.938 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1453, allocations: 4 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1455, allocations: 71.33 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1455, allocations: 0 / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1455, allocations: 4 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1456, allocations: 0 / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.1456, allocations: 19.98 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.146, allocations: 288.9 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.1463, allocations: 58.61 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.1464, allocations: 20.86 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1464, allocations: 3.984 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1466, allocations: 71.39 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1466, allocations: 0 / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.1472, allocations: 177.1 kB / 488.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1473, allocations: 81.05 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1474, allocations: 162.5 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1475, allocations: 33.7 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.1475, allocations: 96.12 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1476, allocations: 23.66 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.1476, allocations: 17.7 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1477, allocations: 322.8 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.1478, allocations: 20 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.1479, allocations: 46.5 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.148, allocations: 57.7 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.148, allocations: 3.938 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.1482, allocations: 109.6 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1482, allocations: 4.188 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1483, allocations: 4 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1483, allocations: 3.938 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.1484, allocations: 12 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1484, allocations: 8 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.1485, allocations: 7.984 kB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.1485, allocations: 4 kB / 489.2 MB, free: 13.8 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.0001186/0.1486, allocations: 128.4 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1486, allocations: 15.81 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.1487, allocations: 16.7 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1487, allocations: 0 / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1487, allocations: 3.938 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1487, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1492, allocations: 391.3 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1492, allocations: 4 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.1492, allocations: 11.94 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1492, allocations: 0 / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1492, allocations: 4 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1492, allocations: 0 / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1492, allocations: 7.984 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1495, allocations: 200.3 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1495, allocations: 92.95 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1496, allocations: 3.984 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.1497, allocations: 8 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1497, allocations: 4 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1497, allocations: 4.359 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1498, allocations: 134.5 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1499, allocations: 0 / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.1502, allocations: 43.98 kB / 490.2 MB, free: 12.64 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.001325/0.1515, allocations: 0.5384 MB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1517, allocations: 63.91 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1517, allocations: 3.938 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.1518, allocations: 31.92 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1522, allocations: 31.92 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.1527, allocations: 226.1 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.153, allocations: 0.7004 MB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.918e-05/0.1531, allocations: 17.19 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.1532, allocations: 23.42 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1532, allocations: 0 / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005766/0.1589, allocations: 2.269 MB / 494.1 MB, free: 8.879 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches