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.001832/0.001832, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, 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.2095/0.2095, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 88.64 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1297, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.004549/0.1343, allocations: 1.918 MB / 483.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.1369, allocations: 1.134 MB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.137, allocations: 4 kB / 484.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.1376, allocations: 223.3 kB / 484.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.1382, allocations: 219.2 kB / 485 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1386, allocations: 111.6 kB / 485.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.1391, allocations: 251.4 kB / 485.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1393, allocations: 37.59 kB / 485.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1395, allocations: 119.5 kB / 485.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1398, allocations: 155.5 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1398, allocations: 8 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.14, allocations: 67.91 kB / 485.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1402, allocations: 59.77 kB / 485.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1403, allocations: 91.28 kB / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.1408, allocations: 243.1 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1408, allocations: 3.984 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1408, allocations: 0 / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1408, allocations: 4 kB / 486.1 MB, free: 15.88 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.001005/0.1418, allocations: 0.5526 MB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1419, allocations: 12.03 kB / 486.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.142, allocations: 28.56 kB / 486.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.1426, allocations: 292 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1426, allocations: 12.31 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1427, allocations: 12.06 kB / 487 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.143, allocations: 121.8 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.1431, allocations: 0 / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1431, allocations: 4 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1431, allocations: 7.984 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.1433, allocations: 43.91 kB / 487.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.1441, allocations: 472.8 kB / 487.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.1445, allocations: 121.2 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.1446, allocations: 45.83 kB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1446, allocations: 160 / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1449, allocations: 125 kB / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1449, allocations: 0 / 487.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001416/0.1463, allocations: 0.4998 MB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1464, allocations: 85.11 kB / 488.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.147, allocations: 448.4 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1471, allocations: 29.7 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1472, allocations: 160.5 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.1473, allocations: 71 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.1474, allocations: 45.7 kB / 489.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1476, allocations: 338.8 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.1478, allocations: 59.97 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.148, allocations: 87.41 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.1483, allocations: 159.3 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1484, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005323/0.1489, allocations: 233.3 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1489, allocations: 11.94 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.149, allocations: 3.984 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.149, allocations: 0 / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.1492, allocations: 47.92 kB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1492, allocations: 8 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1493, allocations: 4 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1494, allocations: 11.98 kB / 490.2 MB, free: 11.5 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.0002098/0.1496, allocations: 169.8 kB / 490.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.1498, allocations: 43.45 kB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1499, allocations: 42.8 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1499, allocations: 4 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.15, allocations: 0 / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.15, allocations: 0 / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1512, allocations: 0.7427 MB / 491.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1512, allocations: 4 kB / 491.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1513, allocations: 27.98 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1513, allocations: 0 / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.1514, allocations: 4 kB / 491.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.1514, allocations: 11.92 kB / 491.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1514, allocations: 0 / 491.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.1521, allocations: 428.8 kB / 491.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1522, allocations: 104.7 kB / 491.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.1523, allocations: 8 kB / 491.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1525, allocations: 8 kB / 491.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.1526, allocations: 23.91 kB / 491.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.1526, allocations: 12 kB / 491.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.1531, allocations: 331 kB / 492.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1531, allocations: 4 kB / 492.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000586/0.1537, allocations: 51.98 kB / 492.2 MB, free: 9.391 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.001772/0.1554, allocations: 0.5166 MB / 492.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.156, allocations: 155.8 kB / 492.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.156, allocations: 0 / 492.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.1562, allocations: 79.84 kB / 492.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.1572, allocations: 57.39 kB / 493 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1584, allocations: 0.5555 MB / 493.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1588, allocations: 0.7821 MB / 494.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.83e-05/0.159, allocations: 29.94 kB / 494.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.682e-05/0.159, allocations: 31.42 kB / 494.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.159, allocations: 0 / 494.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of Templates: time 0.008205/0.1673, allocations: 3.162 MB / 497.5 MB, free: 4.168 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 cvode -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