Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008088/0.0008089, allocations: 93.88 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.001173/0.001173, allocations: 202.9 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.396/1.396, allocations: 227.8 MB / 246.8 MB, free: 9.727 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.19 MB / 345.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002608, allocations: 8 kB / 419.5 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 63.56 MB / 483.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002132/0.1351, allocations: 1.442 MB / 484.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1366, allocations: 0.9941 MB / 485.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.1367, allocations: 3.938 kB / 485.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.137, allocations: 47.89 kB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1373, allocations: 75.73 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1375, allocations: 71.8 kB / 485.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1377, allocations: 99.69 kB / 485.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1378, allocations: 16 kB / 485.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.1379, allocations: 39.78 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.506e-05/0.138, allocations: 39.72 kB / 485.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.138, allocations: 4 kB / 485.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1381, allocations: 39.98 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.1382, allocations: 23.91 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.1383, allocations: 61.39 kB / 486 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1385, allocations: 123.9 kB / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1385, allocations: 0 / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1385, allocations: 0 / 486.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1385, allocations: 4 kB / 486.2 MB, free: 0.9883 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.0005535/0.1391, allocations: 411 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1391, allocations: 12.86 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1392, allocations: 16.75 kB / 486.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1394, allocations: 216.8 kB / 486.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1394, allocations: 4.375 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1395, allocations: 8.125 kB / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1396, allocations: 61.61 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1396, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1397, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1397, allocations: 0 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.559e-05/0.1398, allocations: 27.92 kB / 486.9 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.1401, allocations: 292.8 kB / 487.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1403, allocations: 58.67 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1404, allocations: 20.84 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1404, allocations: 0 / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.1406, allocations: 71.33 kB / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1406, allocations: 0 / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.1412, allocations: 181.1 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1412, allocations: 59.41 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1414, allocations: 234.2 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1415, allocations: 25.7 kB / 487.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.1415, allocations: 108.1 kB / 487.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1416, allocations: 23.66 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1416, allocations: 21.7 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1418, allocations: 326.8 kB / 488.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.1418, allocations: 16 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.1419, allocations: 41.7 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.142, allocations: 61.64 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.142, allocations: 3.938 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.1422, allocations: 105.4 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1422, allocations: 4 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1422, allocations: 0 / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1423, allocations: 4 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.1423, allocations: 16.03 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1424, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.1424, allocations: 15.92 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1424, allocations: 4 kB / 488.6 MB, free: 14.35 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.0001126/0.1426, allocations: 132.5 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1426, allocations: 15.8 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1427, allocations: 17.41 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1427, allocations: 0 / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1427, allocations: 4 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1427, allocations: 4.125 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.1432, allocations: 403.5 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1432, allocations: 3.938 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.1432, allocations: 11.94 kB / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1432, allocations: 0 / 489.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1433, allocations: 15.92 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1433, allocations: 384 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1433, allocations: 32 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1435, allocations: 204.2 kB / 489.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.1436, allocations: 92.92 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1436, allocations: 15.92 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.1437, allocations: 4 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.1437, allocations: 4 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1437, allocations: 11.98 kB / 489.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1439, allocations: 176.4 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1439, allocations: 0 / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1442, allocations: 27.98 kB / 489.7 MB, free: 13.12 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.001055/0.1452, allocations: 457.1 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1454, allocations: 51.92 kB / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1454, allocations: 0 / 490.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.1455, allocations: 27.98 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1459, allocations: 31.97 kB / 490.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.1464, allocations: 290.6 kB / 490.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1467, allocations: 0.7122 MB / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.1467, allocations: 17.17 kB / 491.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1468, allocations: 19.42 kB / 491.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1468, allocations: 3.938 kB / 491.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of Templates: time 0.004637/0.1514, allocations: 1.66 MB / 492.9 MB, free: 9.988 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches