Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, 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.001107/0.001107, 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.289/1.289, 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.2043/0.2043, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 83.25 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1351, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003532/0.1387, allocations: 1.922 MB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1405, allocations: 1.126 MB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1406, allocations: 3.938 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.1411, allocations: 251.4 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.1416, allocations: 243.1 kB / 485 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1419, allocations: 115.6 kB / 485.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.1422, allocations: 263.3 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1424, allocations: 29.67 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1425, allocations: 139.4 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1428, allocations: 183.5 kB / 485.7 MB, free: 256 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1428, allocations: 8 kB / 485.7 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1429, allocations: 63.97 kB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.143, allocations: 67.75 kB / 485.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1431, allocations: 99.16 kB / 486 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.1435, allocations: 255 kB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1435, allocations: 4 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1435, allocations: 0 / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1435, allocations: 0 / 486.2 MB, free: 15.76 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.0007731/0.1443, allocations: 0.5835 MB / 486.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1443, allocations: 8.031 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1444, allocations: 32.56 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1448, allocations: 290.4 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1448, allocations: 4.375 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.1449, allocations: 16.12 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1451, allocations: 117.5 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1451, allocations: 7.844 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1451, allocations: 4 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1452, allocations: 0 / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1453, allocations: 47.95 kB / 487.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.1458, allocations: 492.6 kB / 487.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1462, allocations: 117.2 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.1463, allocations: 49.81 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1463, allocations: 4 kB / 488 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1466, allocations: 113.1 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1466, allocations: 0 / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001263/0.1478, allocations: 0.5161 MB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1479, allocations: 85.05 kB / 488.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.1484, allocations: 497.6 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1484, allocations: 33.7 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1485, allocations: 168.5 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.1486, allocations: 67 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.1487, allocations: 45.7 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1488, allocations: 346.8 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1489, allocations: 55.97 kB / 489.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1491, allocations: 91.39 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1493, allocations: 155.4 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1493, allocations: 4 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000373/0.1497, allocations: 241.2 kB / 490.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1497, allocations: 7.938 kB / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1497, allocations: 0 / 490.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1498, allocations: 4 kB / 490.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1499, allocations: 43.92 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1499, allocations: 8.062 kB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.15, allocations: 11.89 kB / 490.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.15, allocations: 16.06 kB / 490.4 MB, free: 11.27 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.0001527/0.1502, allocations: 165.8 kB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.1502, allocations: 43.5 kB / 490.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.1503, allocations: 42.83 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1503, allocations: 7.984 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1503, allocations: 0 / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1504, allocations: 3.984 kB / 490.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.1512, allocations: 0.7428 MB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.1512, allocations: 4 kB / 491.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.1513, allocations: 35.92 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.1513, allocations: 0 / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1513, allocations: 4 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1514, allocations: 4 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1514, allocations: 4.109 kB / 491.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.1518, allocations: 433.1 kB / 491.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1519, allocations: 104.7 kB / 492 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1519, allocations: 11.98 kB / 492 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1521, allocations: 12 kB / 492 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.1522, allocations: 23.91 kB / 492 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.1522, allocations: 8 kB / 492.1 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003262/0.1525, allocations: 375.1 kB / 492.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1525, allocations: 0 / 492.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.1529, allocations: 51.98 kB / 492.5 MB, free: 9.086 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.001135/0.154, allocations: 0.4977 MB / 493 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1544, allocations: 159.8 kB / 493.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1544, allocations: 0 / 493.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1545, allocations: 79.84 kB / 493.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.1551, allocations: 63.89 kB / 493.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.1559, allocations: 0.5981 MB / 493.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.1563, allocations: 0.7831 MB / 494.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1564, allocations: 49.91 kB / 494.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.1565, allocations: 31.42 kB / 494.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1565, allocations: 0 / 494.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of Templates: time 0.00738/0.1639, allocations: 3.178 MB / 497.9 MB, free: 3.801 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches