Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001342, allocations: 120.8 kB / 18.45 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 205 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 251.6 MB, free: 56 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.17 MB / 351.1 MB, free: 14.25 MB / 286.1 MB " [Timeout remaining time 180] 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 87.38 kB / 490.3 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 62.45 MB / 0.5398 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003294/0.1381, allocations: 1.725 MB / 0.5415 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1407, allocations: 1.635 MB / 0.5431 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.1408, allocations: 0 / 0.5431 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1411, allocations: 35.77 kB / 0.5431 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.1415, allocations: 103.5 kB / 0.5432 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1417, allocations: 75.67 kB / 0.5433 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.1419, allocations: 107.7 kB / 0.5434 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.142, allocations: 19.97 kB / 0.5434 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.1421, allocations: 43.73 kB / 0.5434 GB, free: 496 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1423, allocations: 51.77 kB / 0.5435 GB, free: 444 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1423, allocations: 4 kB / 0.5435 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1425, allocations: 107.9 kB / 0.5436 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.1426, allocations: 19.92 kB / 0.5436 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.1427, allocations: 35.73 kB / 0.5436 GB, free: 276 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.143, allocations: 171.4 kB / 0.5438 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.143, allocations: 0 / 0.5438 GB, free: 104 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.143, allocations: 0 / 0.5438 GB, free: 104 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.143, allocations: 0 / 0.5438 GB, free: 104 kB / 398.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.0006457/0.1437, allocations: 438.5 kB / 0.5442 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1437, allocations: 8.031 kB / 0.5442 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1438, allocations: 12.84 kB / 0.5442 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1441, allocations: 211.2 kB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1441, allocations: 8.312 kB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1441, allocations: 8.125 kB / 0.5444 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1443, allocations: 75.38 kB / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1443, allocations: 0 / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1443, allocations: 4 kB / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1444, allocations: 0 / 0.5445 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.1444, allocations: 19.98 kB / 0.5445 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1449, allocations: 284.9 kB / 0.5448 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.145, allocations: 58.61 kB / 0.5449 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1451, allocations: 20.86 kB / 0.5449 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1451, allocations: 3.984 kB / 0.5449 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.1453, allocations: 75.33 kB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.557e-06/0.1453, allocations: 3.984 kB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.1458, allocations: 173.4 kB / 0.5451 GB, free: 14.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1459, allocations: 81.09 kB / 0.5452 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1461, allocations: 162.5 kB / 0.5454 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1461, allocations: 33.7 kB / 0.5454 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1462, allocations: 96.08 kB / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1463, allocations: 31.73 kB / 0.5455 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.1463, allocations: 21.72 kB / 0.5455 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1465, allocations: 326.8 kB / 0.5459 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.1465, allocations: 19.98 kB / 0.5459 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1467, allocations: 50.5 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1468, allocations: 57.7 kB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1468, allocations: 0 / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.147, allocations: 97.58 kB / 0.5461 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.147, allocations: 10.19 kB / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.147, allocations: 0 / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.147, allocations: 0 / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.1471, allocations: 23.98 kB / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1472, allocations: 4 kB / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1472, allocations: 3.938 kB / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1472, allocations: 4 kB / 0.5461 GB, free: 13.47 MB / 414.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.0001086/0.1473, allocations: 125.8 kB / 0.5462 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.1474, allocations: 7.953 kB / 0.5462 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.1474, allocations: 13.09 kB / 0.5463 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1474, allocations: 0 / 0.5463 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1474, allocations: 0 / 0.5463 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1474, allocations: 7.938 kB / 0.5463 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.1479, allocations: 403.4 kB / 0.5466 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1479, allocations: 0 / 0.5466 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.148, allocations: 11.98 kB / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.148, allocations: 0 / 0.5467 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.148, allocations: 3.938 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.148, allocations: 4 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.148, allocations: 80 / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1483, allocations: 216.2 kB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1484, allocations: 85.05 kB / 0.547 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1484, allocations: 11.94 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1485, allocations: 0 / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1485, allocations: 7.984 kB / 0.547 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1485, allocations: 4 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1487, allocations: 131.9 kB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1487, allocations: 4 kB / 0.5471 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.149, allocations: 47.86 kB / 0.5471 GB, free: 12.3 MB / 414.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.001938/0.1509, allocations: 0.5376 MB / 0.5477 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1511, allocations: 63.92 kB / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1511, allocations: 0 / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.1512, allocations: 27.92 kB / 0.5478 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1516, allocations: 29.78 kB / 0.5478 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.152, allocations: 198.8 kB / 0.548 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1524, allocations: 0.7003 MB / 0.5487 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.1524, allocations: 16.88 kB / 0.5487 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.1525, allocations: 19.42 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1525, allocations: 0 / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Templates: time 0.00569/0.1582, allocations: 2.363 MB / 0.551 GB, free: 8.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.268988232128322]