Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001332, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, 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.2151/0.2151, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 79.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1317, allocations: 62.44 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003954/0.1357, allocations: 1.73 MB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.1387, allocations: 1.631 MB / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.1388, allocations: 0 / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.1393, allocations: 35.77 kB / 484.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1397, allocations: 103.6 kB / 485 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1399, allocations: 79.67 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1401, allocations: 115.6 kB / 485.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1402, allocations: 16 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.1403, allocations: 47.77 kB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1405, allocations: 39.84 kB / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1405, allocations: 8 kB / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.1407, allocations: 111.9 kB / 485.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1408, allocations: 23.91 kB / 485.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.1408, allocations: 39.73 kB / 485.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1411, allocations: 179.5 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1411, allocations: 0 / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1411, allocations: 4 kB / 485.6 MB, free: 364 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1411, allocations: 0 / 485.6 MB, free: 364 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000605/0.1418, allocations: 434.9 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1418, allocations: 8.031 kB / 486 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.1419, allocations: 12.84 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1422, allocations: 216.1 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1423, allocations: 4.359 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1423, allocations: 8.125 kB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1425, allocations: 79.38 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1425, allocations: 0 / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1425, allocations: 0 / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1425, allocations: 4 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.1426, allocations: 35.91 kB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.1431, allocations: 308.6 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1433, allocations: 62.69 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.707e-05/0.1434, allocations: 32.78 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1434, allocations: 7.938 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.1436, allocations: 75.38 kB / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1436, allocations: 0 / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005864/0.1442, allocations: 193.2 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1442, allocations: 81.11 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1444, allocations: 170.2 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1444, allocations: 29.64 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.1445, allocations: 100.1 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1445, allocations: 31.7 kB / 487.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.1446, allocations: 25.72 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1447, allocations: 326.8 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.1448, allocations: 27.98 kB / 487.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.1449, allocations: 58.44 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.145, allocations: 65.7 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.145, allocations: 0 / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002005/0.1452, allocations: 117.4 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1452, allocations: 8.062 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1452, allocations: 0 / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1453, allocations: 0 / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.1453, allocations: 19.94 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1454, allocations: 3.984 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.1454, allocations: 12.12 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1454, allocations: 4 kB / 488.1 MB, free: 13.59 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 (11): * Single equations (assignments): 11 * 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 8.8e-05/0.1455, allocations: 121.8 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.1456, allocations: 7.906 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.1456, allocations: 20.7 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1456, allocations: 0 / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1456, allocations: 4 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1456, allocations: 3.938 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1461, allocations: 415.3 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1461, allocations: 0 / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.1461, allocations: 15.92 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1462, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1462, allocations: 11.97 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1462, allocations: 4 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1462, allocations: 3.938 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1464, allocations: 212.1 kB / 488.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.1465, allocations: 89 kB / 489 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1465, allocations: 7.938 kB / 489 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.1466, allocations: 4 kB / 489 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.1466, allocations: 11.98 kB / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1467, allocations: 4 kB / 489 MB, free: 12.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1468, allocations: 131.2 kB / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 0 / 489.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1471, allocations: 43.98 kB / 489.2 MB, free: 12.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.00114/0.1482, allocations: 0.5431 MB / 489.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1484, allocations: 71.84 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1485, allocations: 4 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.1485, allocations: 35.92 kB / 489.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1489, allocations: 31.53 kB / 489.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.1493, allocations: 223.2 kB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1496, allocations: 0.7041 MB / 490.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.1497, allocations: 20.78 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.1498, allocations: 19.44 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1498, allocations: 4 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005167/0.1549, allocations: 2.436 MB / 493.3 MB, free: 8.457 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches