Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001807/0.001807, allocations: 118 kB / 18.45 MB, free: 4.594 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.002403/0.002404, allocations: 211.4 kB / 21.41 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.536/1.536, allocations: 227.4 MB / 251.7 MB, free: 76 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.268/0.268, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 80.53 kB / 490.3 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1416, allocations: 62.45 MB / 0.5398 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003528/0.1452, allocations: 1.729 MB / 0.5415 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1479, allocations: 1.631 MB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.148, allocations: 0 / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1483, allocations: 31.78 kB / 0.5431 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.1487, allocations: 103.5 kB / 0.5432 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.1489, allocations: 83.66 kB / 0.5433 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1491, allocations: 107.7 kB / 0.5434 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1492, allocations: 11.98 kB / 0.5434 GB, free: 420 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1494, allocations: 47.78 kB / 0.5434 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1495, allocations: 43.77 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1496, allocations: 8 kB / 0.5435 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1498, allocations: 103.9 kB / 0.5436 GB, free: 216 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.1498, allocations: 27.92 kB / 0.5436 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1499, allocations: 35.69 kB / 0.5436 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1502, allocations: 171.4 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1502, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1502, allocations: 0 / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1502, allocations: 0 / 0.5438 GB, free: 15.98 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.000666/0.1509, allocations: 438.5 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.151, allocations: 8.031 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.151, allocations: 12.84 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1514, allocations: 219.3 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1514, allocations: 384 / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1514, allocations: 12.12 kB / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1516, allocations: 67.39 kB / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1516, allocations: 0 / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1517, allocations: 0 / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1517, allocations: 0 / 0.5445 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.1517, allocations: 19.98 kB / 0.5445 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1522, allocations: 292.8 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1524, allocations: 54.69 kB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.1524, allocations: 20.84 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1525, allocations: 3.938 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.1526, allocations: 79.33 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1526, allocations: 0 / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.1532, allocations: 173.4 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.1533, allocations: 81.05 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1535, allocations: 158.5 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1535, allocations: 33.7 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.1536, allocations: 96.12 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.1536, allocations: 31.75 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.1537, allocations: 21.7 kB / 0.5455 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1538, allocations: 330.8 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.1539, allocations: 16 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.154, allocations: 38.56 kB / 0.5459 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1541, allocations: 65.67 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1541, allocations: 4 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.1543, allocations: 94 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1543, allocations: 8 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1543, allocations: 192 / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1543, allocations: 0 / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.1544, allocations: 27.88 kB / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1545, allocations: 8.141 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.1545, allocations: 7.922 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1545, allocations: 4 kB / 0.5461 GB, free: 13.35 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.0001125/0.1547, allocations: 129.9 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.1547, allocations: 7.953 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.1547, allocations: 16.7 kB / 0.5463 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1547, allocations: 0 / 0.5463 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1548, allocations: 0 / 0.5463 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1548, allocations: 3.938 kB / 0.5463 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.1552, allocations: 399.3 kB / 0.5466 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1553, allocations: 4.031 kB / 0.5466 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1553, allocations: 8 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1553, allocations: 0 / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1553, allocations: 3.938 kB / 0.5467 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.1553, allocations: 11.92 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1553, allocations: 3.938 kB / 0.5467 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.1556, allocations: 200.3 kB / 0.5469 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.1557, allocations: 85.06 kB / 0.5469 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1557, allocations: 7.938 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1558, allocations: 7.984 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1558, allocations: 4 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1558, allocations: 4 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.156, allocations: 127.9 kB / 0.5471 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.156, allocations: 0 / 0.5471 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00031/0.1563, 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.001934/0.1582, allocations: 0.5466 MB / 0.5477 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1585, allocations: 59.97 kB / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1585, allocations: 0 / 0.5477 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1586, allocations: 31.86 kB / 0.5478 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1589, allocations: 31.48 kB / 0.5478 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.1594, allocations: 190.8 kB / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1598, allocations: 0.7002 MB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.312e-05/0.1599, allocations: 25.17 kB / 0.5487 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.1599, allocations: 23.36 kB / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1599, allocations: 0 / 0.5487 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.005803/0.1657, allocations: 2.352 MB / 0.551 GB, free: 8.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.216415976174176]