Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 46.93 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 68.09 kB / 0.4921 GB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1379, allocations: 66 MB / 0.5566 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003294/0.1412, allocations: 1.731 MB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1438, allocations: 1.648 MB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.1438, allocations: 3.938 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1441, allocations: 35.83 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.1445, allocations: 103.5 kB / 0.56 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1447, allocations: 71.69 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1449, allocations: 111.6 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.145, allocations: 15.98 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.1451, allocations: 43.8 kB / 0.5603 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1453, allocations: 51.81 kB / 0.5603 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1453, allocations: 4 kB / 0.5603 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1455, allocations: 107.9 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.1455, allocations: 15.92 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.1456, allocations: 43.72 kB / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1459, allocations: 171.4 kB / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1459, allocations: 0 / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1459, allocations: 0 / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1459, allocations: 0 / 0.5607 GB, free: 1.102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006546/0.1466, allocations: 430.6 kB / 0.5611 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1466, allocations: 12.03 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.1467, allocations: 16.78 kB / 0.5611 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.147, allocations: 212.7 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.147, allocations: 3.938 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.147, allocations: 0 / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.1472, allocations: 67.39 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1472, allocations: 3.938 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1472, allocations: 8 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1472, allocations: 4 kB / 0.5614 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.1473, allocations: 15.98 kB / 0.5614 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.1477, allocations: 281.1 kB / 0.5617 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.1479, allocations: 62.55 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.148, allocations: 24.84 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.148, allocations: 0 / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1482, allocations: 75.38 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1482, allocations: 0 / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005851/0.1487, allocations: 181.3 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1488, allocations: 77.11 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.149, allocations: 169.5 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.149, allocations: 33.7 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.1491, allocations: 92.14 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1491, allocations: 27.73 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1492, allocations: 25.72 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1493, allocations: 322.8 kB / 0.5627 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.1494, allocations: 19.98 kB / 0.5627 GB, free: 14.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.1495, allocations: 50.5 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1496, allocations: 57.7 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1496, allocations: 0 / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.1498, allocations: 101.9 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1498, allocations: 8 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1498, allocations: 0 / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1498, allocations: 0 / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.1499, allocations: 19.98 kB / 0.5629 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1499, allocations: 12 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.15, allocations: 0 / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.15, allocations: 7.938 kB / 0.563 GB, free: 14.47 MB / 430.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.0001142/0.1501, allocations: 133.3 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1502, allocations: 11.95 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.1502, allocations: 12.72 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1502, allocations: 0 / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1502, allocations: 3.938 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1502, allocations: 7.984 kB / 0.5631 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1507, allocations: 395.3 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1507, allocations: 4 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.1508, allocations: 8 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.1508, allocations: 3.938 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1508, allocations: 0 / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1508, allocations: 192 / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1508, allocations: 4 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.151, allocations: 204.3 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1511, allocations: 88.98 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1511, allocations: 11.94 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.1512, allocations: 0 / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.1512, allocations: 7.984 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1513, allocations: 4 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1514, allocations: 127.2 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1514, allocations: 0 / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.1517, allocations: 51.86 kB / 0.564 GB, free: 13.31 MB / 430.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.002006/0.1537, allocations: 0.5371 MB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1539, allocations: 55.92 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1539, allocations: 0 / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.154, allocations: 31.97 kB / 0.5646 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1544, allocations: 37.11 kB / 0.5646 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.1549, allocations: 232.4 kB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1553, allocations: 0.7003 MB / 0.5655 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.1553, allocations: 23.42 kB / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1553, allocations: 0 / 0.5656 GB, free: 11.86 MB / 430.1 MB Notification: Performance of Templates: time 0.004806/0.1601, allocations: 2.41 MB / 0.5679 GB, free: 9.453 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.194324634998338]