Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.995/1.995, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3378/0.3378, allocations: 46.11 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 77.09 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1196, allocations: 62.45 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003243/0.1229, allocations: 1.789 MB / 482 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1245, allocations: 1.006 MB / 483 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.1246, allocations: 4 kB / 483 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1249, allocations: 43.88 kB / 483 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.1253, allocations: 87.67 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1255, allocations: 67.88 kB / 483.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1257, allocations: 107.6 kB / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.1258, allocations: 8 kB / 483.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.1259, allocations: 55.7 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.126, allocations: 35.8 kB / 483.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.126, allocations: 4 kB / 483.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1261, allocations: 39.98 kB / 483.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.1262, allocations: 23.91 kB / 483.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.1262, allocations: 39.73 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1264, allocations: 100 kB / 483.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1264, allocations: 8 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1264, allocations: 0 / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1265, allocations: 3.938 kB / 483.6 MB, free: 2.176 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005377/0.127, allocations: 426.8 kB / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.127, allocations: 8.031 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1271, allocations: 12.84 kB / 484 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1273, allocations: 217.6 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1274, allocations: 4.375 kB / 484.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1274, allocations: 8.125 kB / 484.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1275, allocations: 53.67 kB / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1276, allocations: 0 / 484.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1276, allocations: 15.92 kB / 484.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1276, allocations: 3.938 kB / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/0.1277, allocations: 12 kB / 484.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.1281, allocations: 296.8 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1282, allocations: 58.67 kB / 484.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.1283, allocations: 28.8 kB / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1283, allocations: 0 / 484.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1286, allocations: 67.3 kB / 484.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.1286, allocations: 0 / 484.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.1292, allocations: 181.1 kB / 484.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1292, allocations: 51.41 kB / 485 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1294, allocations: 238.2 kB / 485.2 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1295, allocations: 29.7 kB / 485.2 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1295, allocations: 104.1 kB / 485.3 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1296, allocations: 31.62 kB / 485.4 MB, free: 164 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1296, allocations: 21.72 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1298, allocations: 334.8 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.1298, allocations: 24 kB / 485.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1299, allocations: 37.64 kB / 485.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.13, allocations: 61.64 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.13, allocations: 0 / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.1302, allocations: 97.53 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1303, allocations: 8 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.1303, allocations: 4.031 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1303, allocations: 3.984 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.1304, allocations: 12 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1304, allocations: 4 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1305, allocations: 7.844 kB / 486 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1305, allocations: 4 kB / 486 MB, free: 15.52 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.0001069/0.1306, allocations: 133.8 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1306, allocations: 11.91 kB / 486.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.1307, allocations: 17.39 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1307, allocations: 4 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1307, allocations: 7.938 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1307, allocations: 3.938 kB / 486.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.1312, allocations: 399.3 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1312, allocations: 3.938 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1313, allocations: 11.94 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1313, allocations: 4 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1313, allocations: 3.938 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1313, allocations: 8.391 kB / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1313, allocations: 240 / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1316, allocations: 204.3 kB / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1316, allocations: 92.92 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1317, allocations: 3.938 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1317, allocations: 4 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1318, allocations: 19.91 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1318, allocations: 4 kB / 486.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1319, allocations: 176.4 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1319, allocations: 0 / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1322, allocations: 20 kB / 487.1 MB, free: 14.3 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.00112/0.1334, allocations: 462.6 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1336, allocations: 59.91 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1336, allocations: 0 / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.1337, allocations: 27.98 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1341, allocations: 31.11 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.1346, allocations: 317.2 kB / 488 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1349, allocations: 0.7197 MB / 488.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.135, allocations: 15.44 kB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.135, allocations: 0 / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Templates: time 0.2662/0.4012, allocations: 2.018 MB / 490.7 MB, free: 10.77 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches