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.00116/0.00116, 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.001152/0.001152, 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.397/1.397, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 79.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003549/0.1227, allocations: 1.918 MB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1249, allocations: 1.133 MB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.125, allocations: 4 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.1255, allocations: 163.5 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.126, allocations: 179.3 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1263, allocations: 111.6 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.1266, allocations: 251.2 kB / 485.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1268, allocations: 29.67 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1269, allocations: 103.6 kB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1271, allocations: 139.4 kB / 485.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1272, allocations: 8 kB / 485.5 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1273, allocations: 63.97 kB / 485.5 MB, free: 432 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.1274, allocations: 51.83 kB / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.828e-05/0.1275, allocations: 83.34 kB / 485.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1278, allocations: 239.1 kB / 485.9 MB, free: 56 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1278, allocations: 0 / 485.9 MB, free: 56 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1278, allocations: 4 kB / 485.9 MB, free: 52 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1278, allocations: 0 / 485.9 MB, free: 52 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007499/0.1285, allocations: 0.5254 MB / 486.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1286, allocations: 12.03 kB / 486.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.1287, allocations: 24.66 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1291, allocations: 283.4 kB / 486.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1291, allocations: 4.375 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.1291, allocations: 20.06 kB / 486.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1294, allocations: 107.3 kB / 486.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1294, allocations: 3.938 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1294, allocations: 4 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1294, allocations: 4 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1296, allocations: 47.89 kB / 486.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.1302, allocations: 468.8 kB / 487.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1306, allocations: 125.2 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1307, allocations: 45.81 kB / 487.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1308, allocations: 11.94 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.131, allocations: 109.1 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.131, allocations: 0 / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001262/0.1323, allocations: 0.4884 MB / 488.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1324, allocations: 85.05 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.1327, allocations: 371.3 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1328, allocations: 29.7 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.1329, allocations: 152.4 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.1329, allocations: 67.09 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.133, allocations: 45.7 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1331, allocations: 342.8 kB / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1333, allocations: 55.98 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1334, allocations: 91.39 kB / 489.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.1337, allocations: 155.4 kB / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1337, allocations: 4 kB / 489.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004534/0.1342, allocations: 233.4 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.1342, allocations: 7.938 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1343, allocations: 4 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1343, allocations: 3.938 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1345, allocations: 39.98 kB / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1345, allocations: 0 / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.1346, allocations: 11.98 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1346, allocations: 12.06 kB / 489.8 MB, free: 11.82 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.0001715/0.1348, allocations: 157.7 kB / 490 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.1348, allocations: 39.55 kB / 490 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.851e-05/0.1349, allocations: 34.77 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.1349, allocations: 4 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1349, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1349, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.1358, allocations: 0.7271 MB / 490.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1359, allocations: 7.984 kB / 490.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.136, allocations: 31.92 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.136, allocations: 4 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.136, allocations: 11.98 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.136, allocations: 0 / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.136, allocations: 4 kB / 490.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.1365, allocations: 424.8 kB / 491.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.1366, allocations: 96.83 kB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1366, allocations: 12 kB / 491.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1368, allocations: 11.98 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1369, allocations: 15.92 kB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.1369, allocations: 16 kB / 491.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1372, allocations: 277.9 kB / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1372, allocations: 0 / 491.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.1376, allocations: 48 kB / 491.7 MB, free: 9.805 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.001257/0.1388, allocations: 0.5165 MB / 492.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.1392, allocations: 159.8 kB / 492.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1392, allocations: 0 / 492.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.1394, allocations: 83.84 kB / 492.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.1399, allocations: 52.28 kB / 492.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008423/0.1407, allocations: 0.5004 MB / 493 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1411, allocations: 0.7636 MB / 493.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.948e-05/0.1413, allocations: 37.92 kB / 493.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.1413, allocations: 35.42 kB / 493.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1413, allocations: 4 kB / 493.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Templates: time 0.006526/0.1479, allocations: 3.109 MB / 497 MB, free: 4.695 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 -s cvode -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