Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 115.9 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.001601/0.001601, allocations: 203.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.2164/0.2164, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 76.2 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003232/0.123, allocations: 1.914 MB / 483.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1247, allocations: 1.126 MB / 484.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.1248, allocations: 4 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.1252, allocations: 223.3 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.1256, allocations: 219.2 kB / 485 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1259, allocations: 115.6 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1262, allocations: 255.4 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1263, allocations: 33.61 kB / 485.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1265, allocations: 119.6 kB / 485.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1266, allocations: 155.5 kB / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1267, allocations: 12 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1268, allocations: 59.98 kB / 485.7 MB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.1269, allocations: 63.7 kB / 485.7 MB, free: 244 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.127, allocations: 91.28 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.1273, allocations: 247.1 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1273, allocations: 0 / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1273, allocations: 4 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1273, allocations: 0 / 486.1 MB, free: 15.9 MB / 366.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.0006744/0.128, allocations: 0.5526 MB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1281, allocations: 12.03 kB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.1281, allocations: 28.56 kB / 486.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1285, allocations: 288 kB / 487 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1285, allocations: 12.31 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1286, allocations: 20.05 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1288, allocations: 113.9 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1288, allocations: 3.984 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1288, allocations: 0 / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1289, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.129, allocations: 43.97 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.1296, allocations: 484.8 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.1299, allocations: 117.2 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.13, allocations: 53.81 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1301, allocations: 4 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.1303, allocations: 109.1 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.1303, allocations: 0 / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001201/0.1315, allocations: 0.5076 MB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1316, allocations: 85.09 kB / 488.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.132, allocations: 440.5 kB / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.132, allocations: 33.7 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1321, allocations: 160.5 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.1322, allocations: 70.98 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.1323, allocations: 45.7 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1324, allocations: 346.8 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1326, allocations: 55.98 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1327, allocations: 91.39 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.133, allocations: 155.4 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.133, allocations: 4 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003932/0.1334, allocations: 237.3 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.1334, allocations: 14.44 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1334, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1334, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1336, allocations: 43.92 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1336, allocations: 4 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.1337, allocations: 11.98 kB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1337, allocations: 8.062 kB / 490.2 MB, free: 11.52 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.0001619/0.1339, allocations: 177.7 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.1339, allocations: 39.47 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.134, allocations: 38.81 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.134, allocations: 4 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.134, allocations: 0 / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.134, allocations: 0 / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008628/0.1349, allocations: 0.7311 MB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1349, allocations: 8 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.135, allocations: 35.92 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.135, allocations: 0 / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.135, allocations: 7.984 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.135, allocations: 4 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1351, allocations: 0 / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.1355, allocations: 429.3 kB / 491.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1356, allocations: 104.7 kB / 491.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1356, allocations: 12 kB / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1358, allocations: 7.984 kB / 491.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1358, allocations: 19.92 kB / 491.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1358, allocations: 8 kB / 491.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002876/0.1361, allocations: 335 kB / 492.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 3.938 kB / 492.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.1365, allocations: 55.98 kB / 492.2 MB, free: 9.406 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.001192/0.1377, allocations: 0.5151 MB / 492.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.138, allocations: 151.8 kB / 492.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.138, allocations: 4 kB / 492.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1382, allocations: 79.84 kB / 492.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.1387, allocations: 60.73 kB / 493 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.1395, allocations: 0.5551 MB / 493.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1398, allocations: 0.7792 MB / 494.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.714e-05/0.1399, allocations: 29.94 kB / 494.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.14, allocations: 31.42 kB / 494.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.14, allocations: 4 kB / 494.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of Templates: time 0.006202/0.1462, allocations: 3.153 MB / 497.5 MB, free: 4.188 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches