Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.00555/0.00555, allocations: 106 kB / 21.98 MB, free: 5.227 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.00147/0.00147, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.448/1.448, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.94 MB / 362.3 MB, free: 4.195 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-beta.om/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.Test78,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 79.86 kB / 0.4983 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3295, allocations: 66.07 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004322/0.3339, allocations: 1.947 MB / 0.5647 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.3362, allocations: 1.154 MB / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3363, allocations: 3.938 kB / 0.5658 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.3369, allocations: 259.3 kB / 0.5661 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.3374, allocations: 227.2 kB / 0.5663 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.3378, allocations: 127.5 kB / 0.5664 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.3382, allocations: 275.3 kB / 0.5667 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3384, allocations: 13.97 kB / 0.5667 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.3386, allocations: 151.4 kB / 0.5668 GB, free: 72 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.3389, allocations: 203.6 kB / 0.567 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.339, allocations: 11.94 kB / 0.567 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3391, allocations: 67.84 kB / 0.5671 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3392, allocations: 67.64 kB / 0.5672 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3393, allocations: 99.22 kB / 0.5673 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.3397, allocations: 257.2 kB / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3398, allocations: 0 / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3398, allocations: 0 / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3398, allocations: 0 / 0.5675 GB, free: 15.38 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.0009282/0.3407, allocations: 0.5234 MB / 0.568 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3407, allocations: 8.031 kB / 0.568 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.3408, allocations: 36.73 kB / 0.5681 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.3413, allocations: 236.9 kB / 0.5683 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3413, allocations: 4.375 kB / 0.5683 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.3413, allocations: 12.36 kB / 0.5683 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.3416, allocations: 111.6 kB / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3416, allocations: 0 / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3417, allocations: 7.984 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3417, allocations: 4 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.3418, allocations: 39.97 kB / 0.5685 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.3425, allocations: 459.8 kB / 0.5689 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.3429, allocations: 121.2 kB / 0.569 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.343, allocations: 37.83 kB / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.343, allocations: 7.969 kB / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.3433, allocations: 128.1 kB / 0.5692 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3433, allocations: 0 / 0.5692 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001389/0.3447, allocations: 0.517 MB / 0.5697 GB, free: 12.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.3447, allocations: 81.09 kB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.3453, allocations: 0.4937 MB / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.3454, allocations: 33.7 kB / 0.5703 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3455, allocations: 168.5 kB / 0.5704 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/0.3456, allocations: 71.41 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.3457, allocations: 45.7 kB / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3459, allocations: 342.8 kB / 0.5709 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.346, allocations: 59.97 kB / 0.5709 GB, free: 11.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.3462, allocations: 100.2 kB / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3465, allocations: 159.2 kB / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3465, allocations: 0 / 0.5712 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004263/0.3469, allocations: 237.6 kB / 0.5714 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3469, allocations: 12.05 kB / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.347, allocations: 0 / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.347, allocations: 7.938 kB / 0.5714 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3471, allocations: 47.92 kB / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3471, allocations: 3.938 kB / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.3472, allocations: 8 kB / 0.5715 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3472, allocations: 11.98 kB / 0.5715 GB, free: 11.05 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.0002042/0.3475, allocations: 177.7 kB / 0.5717 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.3475, allocations: 39.77 kB / 0.5717 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.3481, allocations: 264.5 kB / 0.572 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3481, allocations: 0 / 0.572 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3481, allocations: 4 kB / 0.572 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3481, allocations: 3.984 kB / 0.572 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3491, allocations: 0.7068 MB / 0.5727 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3491, allocations: 0 / 0.5727 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.3492, allocations: 31.92 kB / 0.5727 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3492, allocations: 4 kB / 0.5727 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3492, allocations: 11.98 kB / 0.5727 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3492, allocations: 8 kB / 0.5727 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3492, allocations: 3.984 kB / 0.5727 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.3498, allocations: 429.9 kB / 0.5731 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.3498, allocations: 27.81 kB / 0.5731 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3498, allocations: 8 kB / 0.5732 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.35, allocations: 11.98 kB / 0.5732 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.35, allocations: 19.92 kB / 0.5732 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3501, allocations: 15.98 kB / 0.5732 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003744/0.3504, allocations: 375.1 kB / 0.5736 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3504, allocations: 3.938 kB / 0.5736 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3508, allocations: 47.94 kB / 0.5736 GB, free: 8.777 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.001957/0.3528, allocations: 0.5093 MB / 0.5741 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003713/0.3531, allocations: 151.8 kB / 0.5742 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3531, allocations: 0 / 0.5742 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3533, allocations: 71.78 kB / 0.5743 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.3538, allocations: 69.83 kB / 0.5744 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3549, allocations: 0.6349 MB / 0.575 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.3554, allocations: 0.7873 MB / 0.5758 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.3555, allocations: 31.42 kB / 0.5758 GB, free: 6.637 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3555, allocations: 0 / 0.5758 GB, free: 6.637 MB / 414.1 MB Notification: Performance of Templates: time 0.006786/0.3623, allocations: 3.886 MB / 0.5796 GB, free: 2.758 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.131830862024799]