Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001941/0.001941, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.001948/0.001948, allocations: 206.6 kB / 21.4 MB, free: 1.668 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.535/1.535, allocations: 227.4 MB / 251.7 MB, free: 96 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.2435/0.2435, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 83.86 kB / 490.3 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1238, allocations: 62.45 MB / 0.5398 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00368/0.1275, allocations: 1.922 MB / 0.5417 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1296, allocations: 1.124 MB / 0.5428 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1297, allocations: 7.875 kB / 0.5428 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.1303, allocations: 231.4 kB / 0.543 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.1308, allocations: 211.2 kB / 0.5432 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1311, allocations: 119.6 kB / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.1314, allocations: 247.4 kB / 0.5435 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.1316, allocations: 37.55 kB / 0.5436 GB, free: 256 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1317, allocations: 123.5 kB / 0.5437 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.132, allocations: 151.5 kB / 0.5438 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.132, allocations: 8 kB / 0.5438 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1322, allocations: 63.97 kB / 0.5439 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.395e-05/0.1323, allocations: 63.7 kB / 0.544 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.764e-05/0.1324, allocations: 91.3 kB / 0.5441 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1327, allocations: 242.8 kB / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1327, allocations: 4 kB / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1327, allocations: 0 / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1328, allocations: 0 / 0.5443 GB, free: 15.52 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008633/0.1336, allocations: 0.5717 MB / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1337, allocations: 8.031 kB / 0.5449 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.1337, allocations: 32.75 kB / 0.5449 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.1342, allocations: 300.2 kB / 0.5452 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1342, allocations: 8.312 kB / 0.5452 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1343, allocations: 12.36 kB / 0.5452 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.1345, allocations: 107.7 kB / 0.5453 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.1346, allocations: 8 kB / 0.5453 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1346, allocations: 0 / 0.5453 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1346, allocations: 0 / 0.5453 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1347, allocations: 59.89 kB / 0.5454 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.1354, allocations: 468.8 kB / 0.5458 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.1357, allocations: 121.2 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1358, allocations: 45.83 kB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1359, allocations: 4 kB / 0.546 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.1361, allocations: 121 kB / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1361, allocations: 0 / 0.5461 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001255/0.1374, allocations: 0.5094 MB / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.1375, allocations: 81.11 kB / 0.5467 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.1379, allocations: 448.5 kB / 0.5471 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.138, allocations: 33.7 kB / 0.5471 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1381, allocations: 156.4 kB / 0.5473 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.1382, allocations: 71.44 kB / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.1383, allocations: 45.7 kB / 0.5474 GB, free: 12.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1384, allocations: 346.8 kB / 0.5477 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1386, allocations: 63.91 kB / 0.5478 GB, free: 11.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1387, allocations: 87.34 kB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.139, allocations: 163.5 kB / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.139, allocations: 0 / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003953/0.1394, allocations: 233.3 kB / 0.5482 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1394, allocations: 5.875 kB / 0.5482 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1394, allocations: 80 / 0.5482 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1395, allocations: 7.938 kB / 0.5483 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1396, allocations: 47.91 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1396, allocations: 8.047 kB / 0.5483 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1397, allocations: 11.95 kB / 0.5483 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1397, allocations: 11.94 kB / 0.5483 GB, free: 11.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000168/0.1399, allocations: 173.7 kB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.14, allocations: 27.81 kB / 0.5485 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.1401, allocations: 50.73 kB / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1401, allocations: 0 / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1401, allocations: 0 / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1401, allocations: 8 kB / 0.5486 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.141, allocations: 0.735 MB / 0.5493 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.141, allocations: 0 / 0.5493 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.1411, allocations: 27.98 kB / 0.5493 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1411, allocations: 4 kB / 0.5493 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1411, allocations: 12.12 kB / 0.5493 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1412, allocations: 3.938 kB / 0.5493 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1412, allocations: 4 kB / 0.5493 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1416, allocations: 428.6 kB / 0.5498 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1417, allocations: 104.9 kB / 0.5499 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1418, allocations: 11.98 kB / 0.5499 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1419, allocations: 12 kB / 0.5499 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.142, allocations: 19.86 kB / 0.5499 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.142, allocations: 15.98 kB / 0.5499 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.1424, allocations: 331 kB / 0.5502 GB, free: 9.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1424, allocations: 4 kB / 0.5502 GB, free: 9.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.1427, allocations: 47.94 kB / 0.5503 GB, free: 8.973 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001927/0.1446, allocations: 0.5087 MB / 0.5508 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.145, allocations: 159.8 kB / 0.5509 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.145, allocations: 0 / 0.5509 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1452, allocations: 84.28 kB / 0.551 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.1457, allocations: 61.52 kB / 0.5511 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.1466, allocations: 0.5503 MB / 0.5516 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.147, allocations: 0.7792 MB / 0.5524 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1471, allocations: 45.91 kB / 0.5524 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.1472, allocations: 35.42 kB / 0.5524 GB, free: 6.875 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1472, allocations: 0 / 0.5524 GB, free: 6.875 MB / 414.1 MB Notification: Performance of Templates: time 0.007231/0.1544, allocations: 3.188 MB / 0.5556 GB, free: 3.715 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.361884689889848]