Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 75.88 kB / 419 MB, free: 18.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 62.46 MB / 481.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002893/0.1189, allocations: 1.747 MB / 483.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1205, allocations: 1.021 MB / 484.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.1207, allocations: 3.938 kB / 484.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.121, allocations: 51.75 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1214, allocations: 99.59 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1216, allocations: 79.67 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1217, allocations: 131.7 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.1219, allocations: 11.98 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.1219, allocations: 51.78 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.122, allocations: 51.77 kB / 484.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1221, allocations: 4 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1222, allocations: 75.89 kB / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.1223, allocations: 19.92 kB / 484.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.1223, allocations: 43.73 kB / 484.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1225, allocations: 151.5 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1225, allocations: 0 / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1225, allocations: 0 / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1225, allocations: 0 / 485 MB, free: 0.9336 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000546/0.1231, allocations: 438.8 kB / 485.4 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1231, allocations: 12.03 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.1232, allocations: 12.75 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.1236, allocations: 232 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1236, allocations: 4.375 kB / 485.7 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.1236, allocations: 12.12 kB / 485.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1238, allocations: 77.53 kB / 485.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1238, allocations: 3.984 kB / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1238, allocations: 0 / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1238, allocations: 0 / 485.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.124, allocations: 39.97 kB / 485.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.1244, allocations: 332.7 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.1247, allocations: 82.47 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.1247, allocations: 32.84 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1248, allocations: 0 / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.1249, allocations: 87.31 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1249, allocations: 4 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007723/0.1257, allocations: 289.2 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1258, allocations: 60.12 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1259, allocations: 186.4 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.126, allocations: 37.69 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1261, allocations: 104.3 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1261, allocations: 51.33 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1262, allocations: 29.7 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1263, allocations: 326.8 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.1263, allocations: 35.98 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.1264, allocations: 57.69 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1266, allocations: 97.64 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1266, allocations: 4 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002326/0.1269, allocations: 153.4 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1269, allocations: 8 kB / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1269, allocations: 0 / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1269, allocations: 0 / 487.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.127, allocations: 27.98 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.127, allocations: 7.875 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.1271, allocations: 4 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1271, allocations: 7.984 kB / 487.8 MB, free: 13.9 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 (15): * Single equations (assignments): 15 * 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 8.918e-05/0.1272, allocations: 132.3 kB / 487.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1272, allocations: 11.91 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.1273, allocations: 21.52 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1273, allocations: 0 / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1273, allocations: 7.938 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1273, allocations: 0 / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.1278, allocations: 499.9 kB / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1278, allocations: 0 / 488.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.1279, allocations: 20 kB / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1279, allocations: 0 / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1279, allocations: 7.984 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1279, allocations: 4 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1279, allocations: 0 / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.1283, allocations: 268.3 kB / 488.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1283, allocations: 92.91 kB / 488.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1284, allocations: 4 kB / 488.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.1284, allocations: 11.98 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1285, allocations: 4 kB / 488.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1285, allocations: 7.984 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1286, allocations: 152.8 kB / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1286, allocations: 0 / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1289, allocations: 32 kB / 489 MB, free: 12.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00111/0.13, allocations: 0.4942 MB / 489.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1302, allocations: 99.91 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1303, allocations: 0 / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.499e-05/0.1304, allocations: 51.86 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1307, allocations: 47.58 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.1312, allocations: 288.5 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1314, allocations: 0.7162 MB / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.9e-05/0.1315, allocations: 33.41 kB / 490.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.1316, allocations: 19.44 kB / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1316, allocations: 0 / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004777/0.1363, allocations: 2.157 MB / 492.9 MB, free: 8.789 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches