Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001842/0.001842, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.11 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 83.06 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1187, allocations: 62.45 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003497/0.1223, allocations: 1.732 MB / 482.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1241, allocations: 1.021 MB / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.1242, allocations: 0 / 483.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1245, allocations: 39.77 kB / 483.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.1248, allocations: 91.55 kB / 483.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1251, allocations: 79.67 kB / 483.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1252, allocations: 103.7 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1254, allocations: 16 kB / 483.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.1255, allocations: 39.78 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.1255, allocations: 31.8 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1256, allocations: 4 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1257, allocations: 47.97 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1257, allocations: 23.86 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.1258, allocations: 31.8 kB / 484 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.126, allocations: 111.9 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.126, allocations: 0 / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1261, allocations: 0 / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1261, allocations: 4 kB / 484.1 MB, free: 1.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005675/0.1266, allocations: 395.1 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1267, allocations: 12.03 kB / 484.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.1267, allocations: 12.83 kB / 484.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.127, allocations: 220 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.127, allocations: 384 / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1271, allocations: 8.125 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1272, allocations: 57.66 kB / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1272, allocations: 0 / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1273, allocations: 0 / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1273, allocations: 0 / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.1274, allocations: 19.98 kB / 484.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1278, allocations: 292.7 kB / 485.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.128, allocations: 58.62 kB / 485.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.128, allocations: 20.84 kB / 485.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1281, allocations: 0 / 485.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.1283, allocations: 71.39 kB / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1283, allocations: 0 / 485.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005941/0.1289, allocations: 169.2 kB / 485.4 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.129, allocations: 51.41 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1292, allocations: 178.1 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1292, allocations: 25.7 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.1293, allocations: 100.1 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1293, allocations: 27.64 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1294, allocations: 29.7 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1296, allocations: 326.7 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.1296, allocations: 23.98 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.1297, allocations: 33.72 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1298, allocations: 57.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1299, allocations: 4.375 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.1301, allocations: 97.52 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1301, allocations: 8 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1301, allocations: 0 / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1301, allocations: 3.984 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.1302, allocations: 16 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1302, allocations: 4 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.1303, allocations: 15.86 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1303, allocations: 4 kB / 486.4 MB, free: 15.3 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.0001214/0.1304, allocations: 128.5 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1305, allocations: 7.906 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1305, allocations: 16.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1305, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1305, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1305, allocations: 7.938 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.131, allocations: 391.2 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1311, allocations: 4.031 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1311, allocations: 11.98 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1311, allocations: 0 / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1311, allocations: 7.938 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1311, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1311, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.1314, allocations: 204.5 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1315, allocations: 89.02 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.1315, allocations: 7.938 kB / 487.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.1316, allocations: 7.984 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.1316, allocations: 4 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1317, allocations: 192 / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1318, allocations: 135.2 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1318, allocations: 3.938 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1321, allocations: 20 kB / 487.5 MB, free: 14.17 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.001691/0.1338, allocations: 458.8 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.134, allocations: 59.91 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.134, allocations: 0 / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.1341, allocations: 43.92 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1345, allocations: 23.55 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.135, allocations: 244.9 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1354, allocations: 0.7002 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.1354, allocations: 19.42 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1354, allocations: 4 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004188/0.1396, allocations: 1.902 MB / 490.9 MB, free: 10.84 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches