Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 114.8 kB / 17.13 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 194.8 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 207.6 MB / 230.4 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3766/0.3766, allocations: 44.23 MB / 326.5 MB, free: 6.777 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 83.88 kB / 462.7 MB, free: 376 kB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3169, allocations: 60.98 MB / 0.5114 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002898/0.3198, allocations: 1.72 MB / 0.5131 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3217, allocations: 1.418 MB / 0.5145 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.3218, allocations: 5.406 kB / 0.5145 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.3221, allocations: 40.48 kB / 0.5146 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3223, allocations: 49.3 kB / 0.5146 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.3226, allocations: 94.44 kB / 0.5147 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3227, allocations: 90.08 kB / 0.5148 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.3228, allocations: 12.8 kB / 0.5148 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.3229, allocations: 44.16 kB / 0.5148 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3231, allocations: 48.66 kB / 0.5149 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3231, allocations: 4.5 kB / 0.5149 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3232, allocations: 64.52 kB / 0.5149 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.3233, allocations: 16 kB / 0.515 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.3233, allocations: 35.56 kB / 0.515 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.3235, allocations: 122.7 kB / 0.5151 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3235, allocations: 1.375 kB / 0.5151 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3235, allocations: 0 / 0.5151 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3236, allocations: 0 / 0.5151 GB, free: 10.75 MB / 382.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.000454/0.324, allocations: 410.4 kB / 0.5155 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3241, allocations: 12.73 kB / 0.5155 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.3241, allocations: 10.2 kB / 0.5155 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.3243, allocations: 201.3 kB / 0.5157 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3243, allocations: 9.844 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3244, allocations: 5.625 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3245, allocations: 67.14 kB / 0.5158 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3245, allocations: 3.984 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3245, allocations: 0 / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3245, allocations: 1.375 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.644e-05/0.3246, allocations: 17.83 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.3249, allocations: 292.6 kB / 0.5161 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3251, allocations: 59.8 kB / 0.5162 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.3251, allocations: 21.16 kB / 0.5162 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3252, allocations: 1.375 kB / 0.5162 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.3253, allocations: 68.92 kB / 0.5162 GB, free: 9.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3253, allocations: 0 / 0.5162 GB, free: 9.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004945/0.3258, allocations: 173 kB / 0.5164 GB, free: 9.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.3258, allocations: 78.48 kB / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3259, allocations: 152.3 kB / 0.5166 GB, free: 9.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3259, allocations: 29.7 kB / 0.5167 GB, free: 9.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.326, allocations: 100.2 kB / 0.5168 GB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.326, allocations: 31.84 kB / 0.5168 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.326, allocations: 24.59 kB / 0.5168 GB, free: 9.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.3261, allocations: 325.5 kB / 0.5171 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.3261, allocations: 22.98 kB / 0.5171 GB, free: 8.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.3262, allocations: 40.31 kB / 0.5172 GB, free: 8.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.3263, allocations: 64.12 kB / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3263, allocations: 0 / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000158/0.3265, allocations: 110.7 kB / 0.5173 GB, free: 8.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3265, allocations: 5.5 kB / 0.5173 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3265, allocations: 1.375 kB / 0.5173 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3265, allocations: 0 / 0.5173 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.3266, allocations: 17.69 kB / 0.5174 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3266, allocations: 5.359 kB / 0.5174 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.3266, allocations: 9.312 kB / 0.5174 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3266, allocations: 6.781 kB / 0.5174 GB, free: 8.559 MB / 382.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 6.285e-05/0.3267, allocations: 116.7 kB / 0.5175 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.3267, allocations: 8.078 kB / 0.5175 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.3268, allocations: 16.83 kB / 0.5175 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3268, allocations: 1.375 kB / 0.5175 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3268, allocations: 0 / 0.5175 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3268, allocations: 5.312 kB / 0.5175 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3271, allocations: 394.4 kB / 0.5179 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3271, allocations: 0 / 0.5179 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.3271, allocations: 12.23 kB / 0.5179 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3271, allocations: 1.375 kB / 0.5179 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3272, allocations: 5.312 kB / 0.5179 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3272, allocations: 1.375 kB / 0.5179 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3272, allocations: 0 / 0.5179 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.3274, allocations: 203.4 kB / 0.5181 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.3274, allocations: 83.66 kB / 0.5182 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3274, allocations: 10.58 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.3275, allocations: 6.469 kB / 0.5182 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.3275, allocations: 2.625 kB / 0.5182 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3275, allocations: 11.7 kB / 0.5182 GB, free: 7.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.3276, allocations: 112.8 kB / 0.5183 GB, free: 7.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 0.5183 GB, free: 7.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3279, allocations: 32.39 kB / 0.5184 GB, free: 7.613 MB / 382.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.001702/0.3296, allocations: 0.5088 MB / 0.5189 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3297, allocations: 59.89 kB / 0.5189 GB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3297, allocations: 0 / 0.5189 GB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.3298, allocations: 27.92 kB / 0.5189 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3301, allocations: 27.84 kB / 0.519 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.3305, allocations: 202.7 kB / 0.5192 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3307, allocations: 0.6924 MB / 0.5198 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.3307, allocations: 17.19 kB / 0.5199 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3308, allocations: 19.42 kB / 0.5199 GB, free: 6.039 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3308, allocations: 0 / 0.5199 GB, free: 6.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004298/0.3351, allocations: 1.973 MB / 0.5218 GB, free: 4.07 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.421869463287294]