Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009362/0.0009362, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001155, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.19 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003132, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 63.57 MB / 483.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002216/0.1296, allocations: 1.438 MB / 485.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1313, allocations: 0.9902 MB / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.1314, allocations: 0 / 486.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1317, allocations: 47.88 kB / 486.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.132, allocations: 91.66 kB / 486.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1322, allocations: 59.89 kB / 486.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1324, allocations: 99.67 kB / 486.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.1325, allocations: 12 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1326, allocations: 47.72 kB / 486.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.1327, allocations: 35.78 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1327, allocations: 0 / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1329, allocations: 39.98 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.1329, allocations: 27.92 kB / 486.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.133, allocations: 73.3 kB / 486.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1332, allocations: 92.09 kB / 486.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1332, allocations: 0 / 486.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1332, allocations: 4 kB / 486.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1332, allocations: 0 / 486.8 MB, free: 1.047 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.0005533/0.1338, allocations: 407.1 kB / 487.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1338, allocations: 12.86 kB / 487.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1339, allocations: 12.75 kB / 487.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1341, allocations: 220.8 kB / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1341, allocations: 384 / 487.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.1342, allocations: 12.06 kB / 487.4 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1343, allocations: 65.55 kB / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1343, allocations: 0 / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1344, allocations: 0 / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1344, allocations: 0 / 487.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.1344, allocations: 23.98 kB / 487.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.1348, allocations: 296.8 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.135, allocations: 62.61 kB / 487.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1351, allocations: 24.84 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1351, allocations: 0 / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1353, allocations: 67.39 kB / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1353, allocations: 0 / 488 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000522/0.1358, allocations: 173.1 kB / 488.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.1359, allocations: 59.41 kB / 488.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.1361, allocations: 235 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1361, allocations: 25.7 kB / 488.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.1362, allocations: 112.1 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1362, allocations: 19.66 kB / 488.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1363, allocations: 17.7 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1364, allocations: 334.8 kB / 488.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1365, allocations: 12 kB / 488.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.1366, allocations: 45.64 kB / 489 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1367, allocations: 57.7 kB / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1367, allocations: 0 / 489 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1369, allocations: 109.4 kB / 489.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1369, allocations: 4 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1369, allocations: 0 / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1369, allocations: 4 kB / 489.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.137, allocations: 20.03 kB / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.137, allocations: 0 / 489.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.336e-05/0.1371, allocations: 11.92 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.1371, allocations: 0 / 489.2 MB, free: 14.41 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.0001115/0.1372, allocations: 133.8 kB / 489.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1373, allocations: 15.8 kB / 489.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.1373, allocations: 21.39 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1373, allocations: 0 / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1373, allocations: 4.188 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1373, allocations: 7.875 kB / 489.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.1378, allocations: 407.2 kB / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1378, allocations: 0 / 489.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.1379, allocations: 8 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1379, allocations: 0 / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1379, allocations: 11.92 kB / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1379, allocations: 384 / 489.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1379, allocations: 4.031 kB / 489.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1381, allocations: 200.2 kB / 490 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1382, allocations: 96.86 kB / 490.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1382, allocations: 11.92 kB / 490.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.1383, allocations: 4 kB / 490.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1384, allocations: 4 kB / 490.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1384, allocations: 11.98 kB / 490.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1385, allocations: 172.4 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1385, allocations: 4 kB / 490.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1388, allocations: 27.98 kB / 490.3 MB, free: 13.18 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.001047/0.1399, allocations: 449 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.14, allocations: 55.92 kB / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.14, allocations: 0 / 490.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.1401, allocations: 27.98 kB / 490.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1405, allocations: 33.22 kB / 490.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.141, allocations: 324.3 kB / 491.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1413, allocations: 0.716 MB / 491.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1413, allocations: 15.44 kB / 491.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1413, allocations: 0 / 491.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.00387/0.1452, allocations: 1.999 MB / 493.9 MB, free: 9.688 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches