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.001305/0.001305, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.001417/0.001417, allocations: 160.3 kB / 24.49 MB, free: 3.453 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.527/1.527, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 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.2154/0.2154, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.002388/0.002388, allocations: 79.88 kB / 443.2 MB, free: 6.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3599, allocations: 66.05 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003052/0.363, allocations: 1.891 MB / 0.4992 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3647, allocations: 1.071 MB / 0.5002 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.3648, allocations: 7.25 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.3652, allocations: 253 kB / 0.5005 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.3656, allocations: 236.2 kB / 0.5007 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.3658, allocations: 116.8 kB / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.3661, allocations: 274.5 kB / 0.5011 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3662, allocations: 22.88 kB / 0.5011 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3664, allocations: 142.9 kB / 0.5012 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.3666, allocations: 200.7 kB / 0.5014 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.3666, allocations: 6.406 kB / 0.5014 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3667, allocations: 62.66 kB / 0.5015 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.3668, allocations: 77.44 kB / 0.5016 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.3669, allocations: 65.84 kB / 0.5016 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.3672, allocations: 265.9 kB / 0.5019 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3672, allocations: 4 kB / 0.5019 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3672, allocations: 0 / 0.5019 GB, free: 27.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3672, allocations: 0 / 0.5019 GB, free: 27.3 MB / 446.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.0007256/0.3679, allocations: 0.5188 MB / 0.5024 GB, free: 26.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.368, allocations: 9.344 kB / 0.5024 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.368, allocations: 31.88 kB / 0.5024 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.3684, allocations: 232.5 kB / 0.5027 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3684, allocations: 7.5 kB / 0.5027 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.3684, allocations: 3.656 kB / 0.5027 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.3686, allocations: 124 kB / 0.5028 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3687, allocations: 0 / 0.5028 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3687, allocations: 4 kB / 0.5028 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3687, allocations: 6.547 kB / 0.5028 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3688, allocations: 52.58 kB / 0.5028 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.3693, allocations: 411.2 kB / 0.5032 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.3696, allocations: 124.6 kB / 0.5034 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.249e-05/0.3697, allocations: 44.34 kB / 0.5034 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3697, allocations: 3 kB / 0.5034 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.37, allocations: 139.7 kB / 0.5035 GB, free: 26.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.37, allocations: 0 / 0.5035 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001219/0.3712, allocations: 0.5172 MB / 0.504 GB, free: 25.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3712, allocations: 84.02 kB / 0.5041 GB, free: 25.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.3716, allocations: 0.5017 MB / 0.5046 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3716, allocations: 36.05 kB / 0.5046 GB, free: 25.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.3717, allocations: 175.7 kB / 0.5048 GB, free: 25.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.3717, allocations: 71.3 kB / 0.5049 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.3718, allocations: 43.02 kB / 0.5049 GB, free: 25.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.3719, allocations: 346.3 kB / 0.5052 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.372, allocations: 59.05 kB / 0.5053 GB, free: 24.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3721, allocations: 97.69 kB / 0.5054 GB, free: 24.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.3723, allocations: 162.7 kB / 0.5056 GB, free: 24.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3723, allocations: 4 kB / 0.5056 GB, free: 24.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003287/0.3727, allocations: 244.2 kB / 0.5058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3727, allocations: 6 kB / 0.5058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3727, allocations: 0 / 0.5058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3727, allocations: 3.094 kB / 0.5058 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3728, allocations: 55.77 kB / 0.5059 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3728, allocations: 2.906 kB / 0.5059 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.3729, allocations: 7.062 kB / 0.5059 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3729, allocations: 10.19 kB / 0.5059 GB, free: 24.55 MB / 446.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.0001124/0.373, allocations: 176.4 kB / 0.506 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.3731, allocations: 35.14 kB / 0.5061 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.3735, allocations: 280.9 kB / 0.5063 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3735, allocations: 7.031 kB / 0.5063 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3735, allocations: 0 / 0.5063 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3735, allocations: 6.328 kB / 0.5064 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.3743, allocations: 0.6877 MB / 0.507 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3743, allocations: 3.156 kB / 0.507 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.3744, allocations: 31.25 kB / 0.5071 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.3744, allocations: 3.125 kB / 0.5071 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3744, allocations: 14.16 kB / 0.5071 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3744, allocations: 0 / 0.5071 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3744, allocations: 6.688 kB / 0.5071 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.3748, allocations: 451.7 kB / 0.5075 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.3748, allocations: 29.25 kB / 0.5075 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.3749, allocations: 14.77 kB / 0.5076 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.375, allocations: 10.31 kB / 0.5076 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.3751, allocations: 27.22 kB / 0.5076 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3751, allocations: 13.41 kB / 0.5076 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000287/0.3754, allocations: 378.5 kB / 0.508 GB, free: 23.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 0.508 GB, free: 23.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3757, allocations: 50.5 kB / 0.508 GB, free: 23.24 MB / 446.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 (24): * Single equations (assignments): 20 * 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.002014/0.3777, allocations: 0.5411 MB / 0.5085 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.3781, allocations: 163.2 kB / 0.5087 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3781, allocations: 0 / 0.5087 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.3782, allocations: 81.31 kB / 0.5088 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3788, allocations: 61.44 kB / 0.5088 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.3796, allocations: 0.6192 MB / 0.5094 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3797, allocations: 184.5 kB / 0.5096 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.3798, allocations: 40.67 kB / 0.5096 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.3799, allocations: 31.59 kB / 0.5097 GB, free: 22.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3799, allocations: 0 / 0.5097 GB, free: 22.39 MB / 446.1 MB Notification: Performance of Templates: time 0.007557/0.3875, allocations: 3.333 MB / 0.5129 GB, free: 21.93 MB / 446.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 5.058062486932613]