Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 79.05 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00392/0.1209, allocations: 1.919 MB / 482.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1228, allocations: 1.133 MB / 483.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.123, allocations: 3.938 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.1235, allocations: 159.5 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.1241, allocations: 187.3 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.1245, allocations: 111.6 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.1249, allocations: 239.3 kB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1251, allocations: 29.67 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1253, allocations: 111.5 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1255, allocations: 135.5 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.1255, allocations: 12 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.1257, allocations: 63.97 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.1258, allocations: 47.78 kB / 484.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1259, allocations: 87.34 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1263, allocations: 215.5 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1263, allocations: 0 / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1263, allocations: 4 kB / 485.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1263, allocations: 0 / 485.1 MB, free: 0.832 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000776/0.1271, allocations: 0.537 MB / 485.7 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1271, allocations: 16.03 kB / 485.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.1272, allocations: 24.66 kB / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1276, allocations: 271.5 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1276, allocations: 8.375 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.1277, allocations: 12.11 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1279, allocations: 107.3 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1279, allocations: 4 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.1279, allocations: 7.984 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1279, allocations: 4 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1281, allocations: 43.97 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1287, allocations: 468.6 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.1291, allocations: 137.1 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.1292, allocations: 41.83 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1292, allocations: 7.938 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.1295, allocations: 121.1 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.1295, allocations: 0 / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00127/0.1308, allocations: 488.9 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.1308, allocations: 81.11 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.1313, allocations: 367.3 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.1313, allocations: 33.7 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1314, allocations: 152.5 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.1315, allocations: 71.08 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.1316, allocations: 45.7 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1317, allocations: 342.8 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1319, allocations: 55.97 kB / 488.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.132, allocations: 87.41 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.1323, allocations: 167.3 kB / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1323, allocations: 0 / 488.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004212/0.1327, allocations: 233.2 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1328, allocations: 7.938 kB / 489 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1328, allocations: 4.062 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1328, allocations: 4 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.1329, allocations: 43.91 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.133, allocations: 4 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.1331, allocations: 11.94 kB / 489.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1331, allocations: 8 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001474/0.1332, allocations: 157.8 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1333, allocations: 31.56 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.1334, allocations: 41.83 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1334, allocations: 4 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1334, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1334, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.1343, allocations: 0.7273 MB / 490 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1343, allocations: 3.938 kB / 490 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.1344, allocations: 31.92 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1344, allocations: 4 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1344, allocations: 8 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1344, allocations: 0 / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1344, allocations: 4 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.1349, allocations: 424.8 kB / 490.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.135, allocations: 96.83 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.1351, allocations: 8 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1352, allocations: 11.98 kB / 490.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.1353, allocations: 23.86 kB / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1353, allocations: 15.98 kB / 490.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.1356, allocations: 277.9 kB / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1356, allocations: 0 / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1359, allocations: 48 kB / 491 MB, free: 10.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001359/0.1373, allocations: 0.5048 MB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.1377, allocations: 175.7 kB / 491.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1377, allocations: 0 / 491.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1379, allocations: 79.84 kB / 491.7 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.1385, allocations: 62.64 kB / 491.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009152/0.1394, allocations: 0.5336 MB / 492.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1398, allocations: 0.764 MB / 493.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.1398, allocations: 31.44 kB / 493.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1399, allocations: 0 / 493.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of Templates: time 0.006465/0.1463, allocations: 3.605 MB / 496.7 MB, free: 4.953 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches