Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008774/0.0008774, allocations: 92.81 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.001095/0.001095, allocations: 203.3 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.472/1.472, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002655, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 63.57 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003579/0.1348, allocations: 1.446 MB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.1374, allocations: 0.9902 MB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.1376, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.1381, allocations: 51.81 kB / 485.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.1384, allocations: 83.72 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1388, allocations: 59.89 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.139, allocations: 103.7 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1391, allocations: 12 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1392, allocations: 43.67 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.1393, allocations: 39.77 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1393, allocations: 4 kB / 485.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1395, allocations: 39.98 kB / 485.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.1396, allocations: 27.92 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.1397, allocations: 65.38 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1399, allocations: 123.8 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1399, allocations: 0 / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1399, allocations: 4 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1399, allocations: 0 / 486.2 MB, free: 1.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005595/0.1405, allocations: 411 kB / 486.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1406, allocations: 8.875 kB / 486.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.1406, allocations: 12.75 kB / 486.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1409, allocations: 224.8 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1409, allocations: 384 / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1409, allocations: 8.125 kB / 486.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1411, allocations: 57.61 kB / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1411, allocations: 0 / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1411, allocations: 0 / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1411, allocations: 0 / 486.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.1412, allocations: 19.98 kB / 486.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.1417, allocations: 300.8 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1419, allocations: 58.61 kB / 487.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.142, allocations: 24.83 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.142, allocations: 4 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.1422, allocations: 67.39 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.1422, allocations: 0 / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006194/0.1428, allocations: 181.3 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1429, allocations: 55.41 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1432, allocations: 234.2 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1432, allocations: 25.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.1433, allocations: 108.1 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1434, allocations: 23.66 kB / 487.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1434, allocations: 21.7 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1436, allocations: 330.8 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.1437, allocations: 19.98 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.1438, allocations: 45.58 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1439, allocations: 57.7 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1439, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000226/0.1442, allocations: 113.4 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1442, allocations: 4 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1442, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1442, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.1443, allocations: 16 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1443, allocations: 0 / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1444, allocations: 15.92 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1444, allocations: 0 / 488.6 MB, free: 14.4 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 (10): * Single equations (assignments): 10 * 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.0001105/0.1445, allocations: 137.8 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1445, allocations: 15.81 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.1446, allocations: 17.41 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1446, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1446, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1446, allocations: 7.922 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.1451, allocations: 395.3 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1451, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.1451, allocations: 20.02 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1452, allocations: 0 / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1452, allocations: 3.938 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1452, allocations: 4 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1452, allocations: 0 / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1454, allocations: 204.1 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1455, allocations: 92.91 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1455, allocations: 11.94 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1456, allocations: 0 / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1457, allocations: 11.98 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1457, allocations: 4 kB / 489.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.1459, allocations: 168.4 kB / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1459, allocations: 0 / 489.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1462, allocations: 31.98 kB / 489.7 MB, free: 13.19 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 (8): * Single equations (assignments): 6 * 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.1473, allocations: 460.8 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1475, allocations: 63.89 kB / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1475, allocations: 0 / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.1476, allocations: 28.06 kB / 490.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.148, allocations: 39.97 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.1485, allocations: 286.5 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1488, allocations: 0.7121 MB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.1488, allocations: 8.891 kB / 491.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1489, allocations: 19.42 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1489, allocations: 0 / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.004598/0.1535, allocations: 1.659 MB / 492.9 MB, free: 10.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches