Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.00184/0.001848, allocations: 116.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.002234/0.002234, allocations: 210.6 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.493/1.493, 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.2303/0.2303, allocations: 46.16 MB / 351.8 MB, free: 14.39 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 84.7 kB / 491 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1216, allocations: 62.45 MB / 0.5404 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003528/0.1252, allocations: 1.914 MB / 0.5423 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1272, allocations: 1.135 MB / 0.5434 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1273, allocations: 0 / 0.5434 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.128, allocations: 263.3 kB / 0.5437 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.1285, allocations: 231.2 kB / 0.5439 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1288, allocations: 115.6 kB / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.1292, allocations: 267.3 kB / 0.5442 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1293, allocations: 41.58 kB / 0.5443 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1295, allocations: 131.5 kB / 0.5444 GB, free: 72 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.1298, allocations: 179.5 kB / 0.5446 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1298, allocations: 11.94 kB / 0.5446 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.13, allocations: 71.95 kB / 0.5447 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.1301, allocations: 59.77 kB / 0.5447 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1302, allocations: 99.23 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1306, allocations: 262.7 kB / 0.5451 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1306, allocations: 0 / 0.5451 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1306, allocations: 3.938 kB / 0.5451 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1306, allocations: 0 / 0.5451 GB, free: 15.39 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.0008282/0.1315, allocations: 0.5872 MB / 0.5456 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1315, allocations: 8.031 kB / 0.5457 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.1316, allocations: 32.75 kB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.132, allocations: 306.6 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1321, allocations: 8.375 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1321, allocations: 4.375 kB / 0.546 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1324, allocations: 115.6 kB / 0.5461 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1324, allocations: 4 kB / 0.5461 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1324, allocations: 4 kB / 0.5461 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1324, allocations: 0 / 0.5461 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.1326, allocations: 51.89 kB / 0.5462 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.1332, allocations: 484.8 kB / 0.5466 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.1336, allocations: 117.2 kB / 0.5467 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1337, allocations: 49.81 kB / 0.5468 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1337, allocations: 8 kB / 0.5468 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.134, allocations: 119.2 kB / 0.5469 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.134, allocations: 0 / 0.5469 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001366/0.1354, allocations: 0.5171 MB / 0.5474 GB, free: 12.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.1355, allocations: 81.05 kB / 0.5475 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/0.1361, allocations: 0.4899 MB / 0.548 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1361, allocations: 33.7 kB / 0.548 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1362, allocations: 168.4 kB / 0.5482 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.1363, allocations: 79.41 kB / 0.5482 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.1364, allocations: 45.7 kB / 0.5483 GB, free: 11.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1366, allocations: 342.8 kB / 0.5486 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1367, allocations: 63.97 kB / 0.5487 GB, free: 11.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1369, allocations: 95.33 kB / 0.5487 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1372, allocations: 155.6 kB / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1372, allocations: 0 / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004327/0.1377, allocations: 237.2 kB / 0.5491 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1377, allocations: 7.984 kB / 0.5491 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1377, allocations: 4 kB / 0.5491 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1377, allocations: 3.938 kB / 0.5491 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1379, allocations: 43.92 kB / 0.5492 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1379, allocations: 4.062 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.138, allocations: 8 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.138, allocations: 11.98 kB / 0.5492 GB, free: 10.88 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.0001876/0.1382, allocations: 181.7 kB / 0.5494 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.1383, allocations: 39.7 kB / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.496e-05/0.1384, allocations: 42.83 kB / 0.5495 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1384, allocations: 7.938 kB / 0.5495 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1384, allocations: 0 / 0.5495 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1384, allocations: 7.984 kB / 0.5495 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1394, allocations: 0.7389 MB / 0.5502 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1394, allocations: 0 / 0.5502 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.1395, allocations: 27.98 kB / 0.5502 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1395, allocations: 4 kB / 0.5502 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1396, allocations: 12.12 kB / 0.5502 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1396, allocations: 3.938 kB / 0.5502 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1396, allocations: 4 kB / 0.5502 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.1401, allocations: 424.5 kB / 0.5506 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.1402, allocations: 108.9 kB / 0.5508 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.1403, allocations: 15.92 kB / 0.5508 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1404, allocations: 8 kB / 0.5508 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.1405, allocations: 23.91 kB / 0.5508 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.1405, allocations: 8 kB / 0.5508 GB, free: 9.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000399/0.1409, allocations: 375.1 kB / 0.5512 GB, free: 8.742 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.141, allocations: 4 kB / 0.5512 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1413, allocations: 51.92 kB / 0.5512 GB, free: 8.688 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.001955/0.1433, allocations: 0.5132 MB / 0.5517 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.1437, allocations: 155.8 kB / 0.5519 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1437, allocations: 0 / 0.5519 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.1439, allocations: 88.22 kB / 0.5519 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.1445, allocations: 68.05 kB / 0.552 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1455, allocations: 0.63 MB / 0.5526 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.146, allocations: 0.7869 MB / 0.5534 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.1461, allocations: 31.42 kB / 0.5534 GB, free: 6.551 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1461, allocations: 4 kB / 0.5534 GB, free: 6.547 MB / 414.1 MB Notification: Performance of Templates: time 0.006936/0.153, allocations: 3.879 MB / 0.5572 GB, free: 2.672 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.148394187912345]