Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001774/0.001774, allocations: 113.9 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.001354/0.001354, allocations: 212.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.521/1.521, allocations: 227.4 MB / 252.3 MB, free: 72 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.2402/0.2402, allocations: 46.18 MB / 351.8 MB, free: 14.28 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 75.06 kB / 491 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1219, allocations: 62.45 MB / 0.5404 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003234/0.1252, allocations: 1.75 MB / 0.5422 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1269, allocations: 1.03 MB / 0.5432 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.127, allocations: 0 / 0.5432 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1274, allocations: 87.69 kB / 0.5432 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.1277, allocations: 119.5 kB / 0.5434 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1279, allocations: 79.67 kB / 0.5434 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1281, allocations: 115.7 kB / 0.5435 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.1282, allocations: 19.98 kB / 0.5436 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.1283, allocations: 55.77 kB / 0.5436 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1284, allocations: 59.77 kB / 0.5437 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1284, allocations: 4 kB / 0.5437 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1286, allocations: 59.97 kB / 0.5437 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.1286, allocations: 27.86 kB / 0.5438 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.1287, allocations: 39.67 kB / 0.5438 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1289, allocations: 151.3 kB / 0.5439 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.129, allocations: 4 kB / 0.5439 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.129, allocations: 0 / 0.5439 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.129, allocations: 0 / 0.5439 GB, free: 0.5273 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006867/0.1297, allocations: 434.5 kB / 0.5444 GB, free: 56 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1297, allocations: 12.03 kB / 0.5444 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.1298, allocations: 12.84 kB / 0.5444 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1301, allocations: 224.1 kB / 0.5446 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1301, allocations: 384 / 0.5446 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1301, allocations: 8.375 kB / 0.5446 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1303, allocations: 65.97 kB / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1303, allocations: 0 / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1303, allocations: 0 / 0.5447 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1303, allocations: 3.984 kB / 0.5447 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.1304, allocations: 23.98 kB / 0.5447 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.1309, allocations: 304.7 kB / 0.545 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1311, allocations: 70.48 kB / 0.5451 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.1312, allocations: 20.97 kB / 0.5451 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1312, allocations: 4 kB / 0.5451 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1314, allocations: 63.47 kB / 0.5451 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1314, allocations: 0 / 0.5451 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007505/0.1321, allocations: 249.2 kB / 0.5454 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1322, allocations: 51.41 kB / 0.5454 GB, free: 14.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1324, allocations: 227.4 kB / 0.5456 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1325, allocations: 29.7 kB / 0.5457 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.1326, allocations: 104.1 kB / 0.5458 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1326, allocations: 35.73 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1327, allocations: 29.7 kB / 0.5458 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1328, allocations: 330.8 kB / 0.5461 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.1329, allocations: 31.98 kB / 0.5462 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.133, allocations: 41.7 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1331, allocations: 81.64 kB / 0.5463 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1331, allocations: 0 / 0.5463 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002283/0.1334, allocations: 129.5 kB / 0.5464 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1334, allocations: 8 kB / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1334, allocations: 4.031 kB / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1334, allocations: 0 / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.1335, allocations: 19.94 kB / 0.5464 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1335, allocations: 7.984 kB / 0.5465 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.1336, allocations: 3.938 kB / 0.5465 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1336, allocations: 12.64 kB / 0.5465 GB, free: 13.7 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 (13): * Single equations (assignments): 13 * 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.0001188/0.1337, allocations: 129.8 kB / 0.5466 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1338, allocations: 15.91 kB / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.1338, allocations: 21.41 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1338, allocations: 4 kB / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1338, allocations: 0 / 0.5466 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1339, allocations: 7.922 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.1344, allocations: 448 kB / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1344, allocations: 4 kB / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.1345, allocations: 19.92 kB / 0.5471 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1345, allocations: 4 kB / 0.5471 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1345, allocations: 8 kB / 0.5471 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1345, allocations: 0 / 0.5471 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1345, allocations: 0 / 0.5471 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1348, allocations: 229.1 kB / 0.5473 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1349, allocations: 92.95 kB / 0.5474 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1349, allocations: 12 kB / 0.5474 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.135, allocations: 4 kB / 0.5474 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1351, allocations: 15.92 kB / 0.5474 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1351, allocations: 4 kB / 0.5474 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1353, allocations: 165.2 kB / 0.5476 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1353, allocations: 0 / 0.5476 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1355, allocations: 31.94 kB / 0.5476 GB, free: 12.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001881/0.1374, allocations: 0.5122 MB / 0.5481 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1377, allocations: 83.91 kB / 0.5482 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1377, allocations: 0 / 0.5482 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.1378, allocations: 39.92 kB / 0.5483 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1382, allocations: 43.72 kB / 0.5483 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.1387, allocations: 314.3 kB / 0.5486 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1391, allocations: 0.7119 MB / 0.5493 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1392, allocations: 19.44 kB / 0.5493 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1392, allocations: 0 / 0.5493 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Templates: time 0.004557/0.1437, allocations: 2.248 MB / 0.5515 GB, free: 8.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.936126257991418]