Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.00157/0.00157, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001493/0.001493, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.565/1.565, allocations: 227.4 MB / 251.7 MB, free: 15.89 MB / 206.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.2467/0.2467, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 87.73 kB / 490.3 MB, free: 27.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1462, allocations: 62.46 MB / 0.5398 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003932/0.1502, allocations: 1.721 MB / 0.5414 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.153, allocations: 1.638 MB / 0.543 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.1531, allocations: 0 / 0.543 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1534, allocations: 31.78 kB / 0.5431 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.1538, allocations: 99.55 kB / 0.5432 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.154, allocations: 79.66 kB / 0.5432 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1542, allocations: 111.7 kB / 0.5434 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1543, allocations: 16 kB / 0.5434 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.1544, allocations: 43.78 kB / 0.5434 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1546, allocations: 43.83 kB / 0.5435 GB, free: 344 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1546, allocations: 4 kB / 0.5435 GB, free: 340 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.1548, allocations: 111.9 kB / 0.5436 GB, free: 228 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1549, allocations: 19.92 kB / 0.5436 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.155, allocations: 31.8 kB / 0.5436 GB, free: 176 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1553, allocations: 175.3 kB / 0.5438 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.1553, allocations: 0 / 0.5438 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1553, allocations: 4.047 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1553, allocations: 0 / 0.5438 GB, free: 15.99 MB / 414.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.0006509/0.156, allocations: 438.5 kB / 0.5442 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.156, allocations: 8.031 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.1561, allocations: 16.84 kB / 0.5442 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1565, allocations: 204.8 kB / 0.5444 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1565, allocations: 8.375 kB / 0.5444 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1565, allocations: 4.125 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1567, allocations: 75.33 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1567, allocations: 0 / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1568, allocations: 0 / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1568, allocations: 0 / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.1569, allocations: 19.98 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1573, allocations: 292.9 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1575, allocations: 62.61 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.1575, allocations: 16.86 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1576, allocations: 0 / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1577, allocations: 75.33 kB / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1577, allocations: 0 / 0.545 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.1583, allocations: 181.4 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.1584, allocations: 77.11 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1586, allocations: 158.5 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1586, allocations: 33.7 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.1587, allocations: 96.12 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1587, allocations: 27.75 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1588, allocations: 29.7 kB / 0.5455 GB, free: 13.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.159, allocations: 322.8 kB / 0.5458 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.159, allocations: 20 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.1591, allocations: 54.48 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1593, allocations: 53.78 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1593, allocations: 0 / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.1595, allocations: 113.5 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1595, allocations: 8.062 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1595, allocations: 0 / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1595, allocations: 0 / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.1596, allocations: 16 kB / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1596, allocations: 0 / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.1597, allocations: 7.922 kB / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1597, allocations: 4.188 kB / 0.5461 GB, free: 13.37 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.0001206/0.1598, allocations: 125.8 kB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1599, allocations: 11.89 kB / 0.5462 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1599, allocations: 20.7 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1599, allocations: 0 / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1599, allocations: 0 / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1599, allocations: 3.938 kB / 0.5463 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.1604, allocations: 399.3 kB / 0.5466 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1604, allocations: 0 / 0.5466 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1605, allocations: 8.375 kB / 0.5466 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1605, allocations: 0 / 0.5466 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1605, allocations: 11.92 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1605, allocations: 8.031 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1605, allocations: 0 / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1608, allocations: 204.2 kB / 0.5469 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1609, allocations: 85.06 kB / 0.5469 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1609, allocations: 7.938 kB / 0.5469 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.161, allocations: 7.984 kB / 0.547 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.161, allocations: 4 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.161, allocations: 4 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1612, allocations: 131.9 kB / 0.5471 GB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1612, allocations: 0 / 0.5471 GB, free: 12.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1615, allocations: 47.86 kB / 0.5471 GB, free: 12.2 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.002/0.1635, allocations: 0.5415 MB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1637, allocations: 63.91 kB / 0.5477 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1637, allocations: 0 / 0.5477 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.1638, allocations: 31.91 kB / 0.5478 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1642, allocations: 34.56 kB / 0.5478 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.1646, allocations: 198.9 kB / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.165, allocations: 0.6963 MB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.165, allocations: 17.19 kB / 0.5487 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.1651, allocations: 19.42 kB / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1651, allocations: 0 / 0.5487 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Templates: time 0.005824/0.1709, allocations: 2.353 MB / 0.551 GB, free: 8.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.28669966571033]