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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001929/0.001929, allocations: 114 kB / 19.12 MB, free: 4.027 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.002379/0.002379, allocations: 208.9 kB / 22.07 MB, free: 1.078 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.57/1.57, allocations: 227.4 MB / 252.3 MB, free: 92 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.2453/0.2453, allocations: 46.18 MB / 351.8 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 87.47 kB / 491 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1349, allocations: 62.44 MB / 0.5404 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003274/0.1382, allocations: 1.729 MB / 0.5421 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.14, allocations: 1.024 MB / 0.5431 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1401, allocations: 0 / 0.5431 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1404, allocations: 51.69 kB / 0.5432 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1408, allocations: 103.5 kB / 0.5433 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.141, allocations: 79.66 kB / 0.5433 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1412, allocations: 95.77 kB / 0.5434 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1413, allocations: 19.97 kB / 0.5434 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.1414, allocations: 39.8 kB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.1415, allocations: 35.78 kB / 0.5435 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1415, allocations: 4 kB / 0.5435 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1416, allocations: 47.97 kB / 0.5436 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.1417, allocations: 27.86 kB / 0.5436 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1417, allocations: 39.69 kB / 0.5436 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.142, allocations: 135.3 kB / 0.5438 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.142, allocations: 0 / 0.5438 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.142, allocations: 0 / 0.5438 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.142, allocations: 0 / 0.5438 GB, free: 0.7031 MB / 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.0006239/0.1426, allocations: 438.6 kB / 0.5442 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1427, allocations: 8.031 kB / 0.5442 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1427, allocations: 8.891 kB / 0.5442 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.143, allocations: 224.9 kB / 0.5444 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1431, allocations: 384 / 0.5444 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1431, allocations: 4.375 kB / 0.5444 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1433, allocations: 61.92 kB / 0.5445 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1433, allocations: 0 / 0.5445 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1433, allocations: 0 / 0.5445 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1433, allocations: 0 / 0.5445 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.1434, allocations: 19.98 kB / 0.5445 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1438, allocations: 308.8 kB / 0.5448 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.144, allocations: 58.62 kB / 0.5448 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.1441, allocations: 20.84 kB / 0.5449 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1441, allocations: 0 / 0.5449 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.1442, allocations: 71.39 kB / 0.5449 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1443, allocations: 3.938 kB / 0.5449 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005642/0.1448, allocations: 173.3 kB / 0.5451 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1449, allocations: 55.41 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1451, allocations: 234.1 kB / 0.5454 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1452, allocations: 25.7 kB / 0.5454 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.1453, allocations: 116.1 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1453, allocations: 27.78 kB / 0.5455 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.1453, allocations: 25.72 kB / 0.5456 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1455, allocations: 330.8 kB / 0.5459 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.1456, allocations: 15.98 kB / 0.5459 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.1457, allocations: 41.64 kB / 0.5459 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1458, allocations: 61.77 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1458, allocations: 384 / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002006/0.146, allocations: 109.5 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.146, allocations: 4.188 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.146, allocations: 4 kB / 0.5461 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.146, allocations: 3.938 kB / 0.5461 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.1461, allocations: 19.98 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1462, allocations: 0 / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.1462, allocations: 8 kB / 0.5461 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1462, allocations: 7.984 kB / 0.5461 GB, free: 14.02 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.0001297/0.1464, allocations: 141.7 kB / 0.5463 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1464, allocations: 11.91 kB / 0.5463 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.1465, allocations: 21.39 kB / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1465, allocations: 0 / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1465, allocations: 0 / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1465, allocations: 0 / 0.5463 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.147, allocations: 403.2 kB / 0.5467 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.147, allocations: 0 / 0.5467 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.147, allocations: 12.03 kB / 0.5467 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.147, allocations: 0 / 0.5467 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1471, allocations: 8 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1471, allocations: 3.938 kB / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1471, allocations: 0 / 0.5467 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1473, allocations: 204.2 kB / 0.5469 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.1474, allocations: 97 kB / 0.547 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1474, allocations: 8 kB / 0.547 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.1475, allocations: 3.938 kB / 0.547 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1476, allocations: 7.984 kB / 0.547 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1476, allocations: 4 kB / 0.547 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.1478, allocations: 172.4 kB / 0.5472 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 0.5472 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1481, allocations: 31.92 kB / 0.5472 GB, free: 12.8 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.001696/0.1498, allocations: 450.3 kB / 0.5477 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.15, allocations: 63.89 kB / 0.5477 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.15, allocations: 0 / 0.5477 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1501, allocations: 28.06 kB / 0.5477 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1504, allocations: 38.47 kB / 0.5478 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.151, allocations: 304.7 kB / 0.5481 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1513, allocations: 0.708 MB / 0.5488 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.1514, allocations: 19.42 kB / 0.5488 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1514, allocations: 0 / 0.5488 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004184/0.1556, allocations: 2.045 MB / 0.5508 GB, free: 9.285 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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: 8.024502681917511]