Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001867/0.001867, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.00211/0.00211, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.511/1.511, allocations: 227.4 MB / 252.3 MB, free: 124 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.2496/0.2496, allocations: 46.18 MB / 351.8 MB, free: 14.31 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 82.75 kB / 491 MB, free: 27.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1381, allocations: 62.44 MB / 0.5404 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003323/0.1414, allocations: 1.731 MB / 0.5421 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1432, allocations: 1.025 MB / 0.5431 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.1433, allocations: 0 / 0.5431 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1436, allocations: 55.69 kB / 0.5432 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1439, allocations: 111.5 kB / 0.5433 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1441, allocations: 71.75 kB / 0.5434 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1443, allocations: 103.7 kB / 0.5435 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1445, allocations: 15.98 kB / 0.5435 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.1445, allocations: 39.8 kB / 0.5435 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.1446, allocations: 35.78 kB / 0.5435 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1447, allocations: 4 kB / 0.5435 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1448, allocations: 47.98 kB / 0.5436 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.1449, allocations: 27.91 kB / 0.5436 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.1449, allocations: 43.62 kB / 0.5437 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1452, allocations: 143.3 kB / 0.5438 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1452, allocations: 4 kB / 0.5438 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1452, allocations: 0 / 0.5438 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1452, allocations: 0 / 0.5438 GB, free: 0.7266 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.0006536/0.1459, allocations: 449.3 kB / 0.5442 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1459, allocations: 12.03 kB / 0.5442 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.146, allocations: 16.84 kB / 0.5443 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.1463, allocations: 229.2 kB / 0.5445 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1464, allocations: 4.312 kB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1464, allocations: 4.375 kB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1466, allocations: 61.92 kB / 0.5445 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1466, allocations: 0 / 0.5445 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1466, allocations: 3.984 kB / 0.5445 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.1466, allocations: 4 kB / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.1467, allocations: 15.98 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1471, allocations: 304.8 kB / 0.5449 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1473, allocations: 58.62 kB / 0.5449 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.1474, allocations: 20.84 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1474, allocations: 0 / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.1476, allocations: 71.39 kB / 0.545 GB, free: 15.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1476, allocations: 0 / 0.545 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005678/0.1482, allocations: 189.2 kB / 0.5452 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.1482, allocations: 51.41 kB / 0.5452 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.1485, allocations: 270.8 kB / 0.5455 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1486, allocations: 29.7 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.1486, allocations: 112.1 kB / 0.5456 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1487, allocations: 31.83 kB / 0.5457 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.1487, allocations: 21.72 kB / 0.5457 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1489, allocations: 334.8 kB / 0.546 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.149, allocations: 16 kB / 0.546 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.149, allocations: 37.64 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1492, allocations: 61.7 kB / 0.5461 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1492, allocations: 4 kB / 0.5461 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002107/0.1494, allocations: 113.5 kB / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1494, allocations: 4 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1494, allocations: 3.984 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1495, allocations: 0 / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.1496, allocations: 16 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1496, allocations: 0 / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.1496, allocations: 0 / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1496, allocations: 4.188 kB / 0.5462 GB, free: 13.98 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.0001399/0.1498, allocations: 151.7 kB / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1498, allocations: 19.84 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.1499, allocations: 21.41 kB / 0.5464 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1499, allocations: 3.938 kB / 0.5464 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1499, allocations: 0 / 0.5464 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1499, allocations: 3.984 kB / 0.5464 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.1504, allocations: 403.3 kB / 0.5468 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1504, allocations: 8.016 kB / 0.5468 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1505, allocations: 8 kB / 0.5468 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1505, allocations: 0 / 0.5468 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1505, allocations: 4 kB / 0.5468 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1505, allocations: 7.938 kB / 0.5468 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1505, allocations: 0 / 0.5468 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1508, allocations: 200.2 kB / 0.547 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1509, allocations: 101 kB / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1509, allocations: 4 kB / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.151, allocations: 3.938 kB / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.151, allocations: 8.359 kB / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.151, allocations: 4 kB / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.1512, allocations: 200.6 kB / 0.5473 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1512, allocations: 0 / 0.5473 GB, free: 12.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1515, allocations: 31.92 kB / 0.5474 GB, free: 12.71 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.001772/0.1533, allocations: 459.3 kB / 0.5478 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1535, allocations: 59.91 kB / 0.5479 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1535, allocations: 0 / 0.5479 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1536, allocations: 32.05 kB / 0.5479 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.154, allocations: 39.34 kB / 0.5479 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.1546, allocations: 321.3 kB / 0.5482 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.155, allocations: 0.7235 MB / 0.5489 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.155, allocations: 19.42 kB / 0.549 GB, free: 11.19 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.155, allocations: 4.062 kB / 0.549 GB, free: 11.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004121/0.1591, allocations: 2.104 MB / 0.551 GB, free: 9.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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: 7.978457961929962]