Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 75.88 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003797/0.1206, allocations: 1.918 MB / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1224, allocations: 1.126 MB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1225, allocations: 3.938 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.123, allocations: 219.4 kB / 484.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.1234, allocations: 223.2 kB / 484.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1237, allocations: 115.6 kB / 485.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.1241, allocations: 255.3 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1242, allocations: 29.61 kB / 485.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1244, allocations: 127.5 kB / 485.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1246, allocations: 151.5 kB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1247, allocations: 8 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1248, allocations: 67.97 kB / 485.7 MB, free: 300 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.552e-05/0.1249, allocations: 59.7 kB / 485.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.432e-05/0.125, allocations: 87.34 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.1253, allocations: 247.1 kB / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1253, allocations: 0 / 486.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1253, allocations: 4 kB / 486.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1253, 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.0007425/0.1261, allocations: 0.5642 MB / 486.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1261, allocations: 8.031 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.1262, allocations: 32.56 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1266, allocations: 284 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1266, allocations: 8.375 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1266, allocations: 16.06 kB / 487 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.1269, allocations: 118 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1269, allocations: 0 / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1269, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1269, allocations: 4 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.127, allocations: 43.95 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.1276, allocations: 472.7 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.1279, allocations: 129.2 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.128, allocations: 45.83 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.128, allocations: 4 kB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.1283, allocations: 121 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1283, allocations: 0 / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001212/0.1295, allocations: 0.4926 MB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1296, allocations: 85.11 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.13, allocations: 448.5 kB / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.13, allocations: 33.7 kB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1301, allocations: 156.5 kB / 489.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.1302, allocations: 74.98 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1302, allocations: 41.72 kB / 489.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1304, allocations: 346.8 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1305, allocations: 55.97 kB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1307, allocations: 95.34 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1309, allocations: 159.5 kB / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1309, allocations: 0 / 489.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003664/0.1313, allocations: 237.1 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1313, allocations: 7.938 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1313, allocations: 3.938 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1313, allocations: 4 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1315, allocations: 47.91 kB / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1315, allocations: 0 / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.1316, allocations: 8 kB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1316, allocations: 12 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.0001373/0.1317, allocations: 169.8 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.1318, allocations: 35.47 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/0.1319, allocations: 46.8 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1319, allocations: 0 / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1319, allocations: 4 kB / 490.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1319, allocations: 3.984 kB / 490.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.1327, allocations: 0.7272 MB / 491.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1327, allocations: 4 kB / 491.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.1328, allocations: 35.92 kB / 491.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1328, allocations: 4 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1329, allocations: 4 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1329, allocations: 3.938 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1329, allocations: 4 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.1333, allocations: 425.8 kB / 491.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1334, allocations: 104.7 kB / 491.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.1334, allocations: 11.98 kB / 491.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1336, allocations: 4 kB / 491.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.1336, allocations: 27.86 kB / 491.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.1336, allocations: 11.98 kB / 491.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1339, allocations: 335 kB / 492.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1339, allocations: 192 / 492.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.1343, allocations: 48 kB / 492.2 MB, free: 9.41 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.001087/0.1354, allocations: 0.5086 MB / 492.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1357, allocations: 163.8 kB / 492.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1357, allocations: 0 / 492.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.1359, allocations: 83.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.0004939/0.1364, allocations: 61.81 kB / 493 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.1371, allocations: 0.5519 MB / 493.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1375, allocations: 0.7822 MB / 494.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.1376, allocations: 41.86 kB / 494.3 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.1377, allocations: 31.42 kB / 494.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1377, allocations: 0 / 494.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of Templates: time 0.006192/0.1439, allocations: 3.148 MB / 497.5 MB, free: 4.184 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches