Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001297/0.001297, allocations: 113.8 kB / 19.13 MB, free: 3.922 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.001398/0.001399, allocations: 208.9 kB / 22.08 MB, free: 0.9727 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.443/1.443, allocations: 227.4 MB / 252.3 MB, free: 56 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.2286/0.2286, allocations: 46.17 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 78.52 kB / 491 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 62.45 MB / 0.5404 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003418/0.1249, allocations: 1.725 MB / 0.5421 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1268, allocations: 1.024 MB / 0.5431 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.1269, allocations: 0 / 0.5431 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1272, allocations: 47.75 kB / 0.5432 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1276, allocations: 99.53 kB / 0.5433 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1278, allocations: 71.73 kB / 0.5433 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.128, allocations: 103.7 kB / 0.5434 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1281, allocations: 23.92 kB / 0.5435 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.1282, allocations: 35.86 kB / 0.5435 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.1283, allocations: 31.78 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1283, allocations: 4 kB / 0.5435 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1285, allocations: 43.98 kB / 0.5436 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1285, allocations: 19.92 kB / 0.5436 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.1286, allocations: 43.72 kB / 0.5436 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1288, allocations: 119.4 kB / 0.5437 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1289, allocations: 0 / 0.5437 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1289, allocations: 4 kB / 0.5437 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1289, allocations: 0 / 0.5437 GB, free: 0.7344 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.0006048/0.1295, allocations: 426.6 kB / 0.5442 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1295, allocations: 12.03 kB / 0.5442 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.238e-05/0.1296, allocations: 8.891 kB / 0.5442 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1299, allocations: 212.8 kB / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1299, allocations: 384 / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.1299, allocations: 4.375 kB / 0.5444 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1301, allocations: 65.92 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1301, allocations: 0 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1301, allocations: 0 / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1301, allocations: 4 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.1302, allocations: 19.92 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.1306, allocations: 288.9 kB / 0.5447 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1308, allocations: 62.61 kB / 0.5448 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.1309, allocations: 28.83 kB / 0.5448 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1309, allocations: 0 / 0.5448 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.131, allocations: 63.39 kB / 0.5449 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1311, allocations: 0 / 0.5449 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000609/0.1317, allocations: 185.3 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1317, allocations: 59.41 kB / 0.5451 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1319, allocations: 191.6 kB / 0.5453 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.132, allocations: 29.7 kB / 0.5453 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.132, allocations: 100.1 kB / 0.5454 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1321, allocations: 19.86 kB / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1321, allocations: 25.7 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1323, allocations: 326.8 kB / 0.5458 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.1324, allocations: 16 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.1324, allocations: 49.58 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1326, allocations: 61.69 kB / 0.5459 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1326, allocations: 0 / 0.5459 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.1328, allocations: 105.6 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1328, allocations: 4 kB / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1328, allocations: 0 / 0.546 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1328, allocations: 12.02 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.1329, allocations: 12 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1329, allocations: 0 / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.133, allocations: 8 kB / 0.546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.133, allocations: 0 / 0.546 GB, free: 14.15 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.0001328/0.1332, allocations: 133.7 kB / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1332, allocations: 11.91 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.1332, allocations: 21.39 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1332, allocations: 4 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1333, allocations: 4 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1333, allocations: 0 / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1338, allocations: 399.2 kB / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1338, allocations: 0 / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.5e-05/0.1338, allocations: 11.98 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1338, allocations: 192 / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1338, allocations: 0 / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1338, allocations: 11.88 kB / 0.5466 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1339, allocations: 0 / 0.5466 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1341, allocations: 204.3 kB / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.1342, allocations: 89.02 kB / 0.5469 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1342, allocations: 3.984 kB / 0.5469 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.1343, allocations: 7.938 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1343, allocations: 4.375 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1343, allocations: 7.984 kB / 0.5469 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1345, allocations: 152.2 kB / 0.5471 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1345, allocations: 0 / 0.5471 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1348, allocations: 27.98 kB / 0.5471 GB, free: 12.96 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.001691/0.1365, allocations: 461.3 kB / 0.5475 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.1367, allocations: 67.89 kB / 0.5476 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1367, allocations: 0 / 0.5476 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.1368, allocations: 20 kB / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1371, allocations: 42.14 kB / 0.5476 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.1376, allocations: 256.5 kB / 0.5479 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.138, allocations: 0.708 MB / 0.5486 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.138, allocations: 15.44 kB / 0.5486 GB, free: 11.53 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.138, allocations: 0 / 0.5486 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.004116/0.1422, allocations: 1.959 MB / 0.5505 GB, free: 9.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.821319481940009]