Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009018/0.0009018, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002666, allocations: 12 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 63.55 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00212/0.1242, allocations: 1.466 MB / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1258, allocations: 0.9902 MB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.1259, allocations: 0 / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1262, allocations: 107.7 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.1265, allocations: 103.7 kB / 485.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1267, allocations: 71.8 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1269, allocations: 127.7 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.127, allocations: 15.98 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.1271, allocations: 55.77 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1272, allocations: 67.69 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1272, allocations: 0 / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1273, allocations: 63.95 kB / 486.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.1274, allocations: 27.86 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.651e-05/0.1275, allocations: 73.36 kB / 486.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1277, allocations: 151.7 kB / 486.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1277, allocations: 4 kB / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1277, allocations: 0 / 486.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.1277, allocations: 0 / 486.4 MB, free: 0.8125 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004893/0.1282, allocations: 438.8 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1283, allocations: 8.031 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.1283, allocations: 16.75 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1285, allocations: 225 kB / 487.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1286, allocations: 384 / 487.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1286, allocations: 8.125 kB / 487.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1288, allocations: 73.59 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1288, allocations: 0 / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.1288, allocations: 4 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1288, allocations: 0 / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.1289, allocations: 31.98 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1293, allocations: 320.6 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1296, allocations: 86.55 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.1296, allocations: 25.02 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1297, allocations: 7.984 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.1298, allocations: 71.38 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.1298, allocations: 0 / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007794/0.1306, allocations: 272.9 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1307, allocations: 59.28 kB / 488 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1309, allocations: 255.8 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.131, allocations: 29.7 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.131, allocations: 116 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.1311, allocations: 39.53 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1311, allocations: 21.7 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1312, allocations: 326.8 kB / 488.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.1313, allocations: 35.98 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-05/0.1314, allocations: 45.7 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1316, allocations: 93.69 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1316, allocations: 0 / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002412/0.1319, allocations: 145.4 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1319, allocations: 4 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1319, allocations: 4.031 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1319, allocations: 7.938 kB / 489.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.132, allocations: 23.92 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.132, allocations: 7.938 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1321, allocations: 0 / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1321, allocations: 7.984 kB / 489.1 MB, free: 13.82 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 (14): * Single equations (assignments): 14 * 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.0001081/0.1322, allocations: 141.8 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.1322, allocations: 19.72 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1323, allocations: 21.41 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1323, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1323, allocations: 11.88 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1323, allocations: 3.984 kB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.1329, allocations: 476 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.133, allocations: 0 / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.133, allocations: 12 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.133, allocations: 8 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1331, allocations: 7.984 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1331, allocations: 0 / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1331, allocations: 4 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1334, allocations: 241 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.1334, allocations: 96.91 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1335, allocations: 12 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.1336, allocations: 8 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1336, allocations: 11.92 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1336, allocations: 4 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1338, allocations: 205.4 kB / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1338, allocations: 0 / 490.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1342, allocations: 28 kB / 490.4 MB, free: 12.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001152/0.1353, allocations: 0.5054 MB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1356, allocations: 95.78 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1356, allocations: 0 / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.1357, allocations: 39.92 kB / 491.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.136, allocations: 42.3 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.1366, allocations: 359.9 kB / 491.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1369, allocations: 0.7243 MB / 492.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.703e-05/0.137, allocations: 25.06 kB / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.1371, allocations: 19.42 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1371, allocations: 0 / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005024/0.1421, allocations: 1.988 MB / 494.2 MB, free: 8.777 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches