Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001302/0.001302, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001421/0.001421, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.05209/0.05209, allocations: 8.549 MB / 313 MB, free: 2.039 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.83 kB / 436.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3392, allocations: 54.19 MB / 490.7 MB, free: 26.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.009691/0.3489, allocations: 4.501 MB / 495.2 MB, free: 23.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.3556, allocations: 2.191 MB / 497.4 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.3574, allocations: 12.38 kB / 497.4 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.3585, allocations: 155.2 kB / 497.6 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.3603, allocations: 234.7 kB / 497.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.3622, allocations: 425.4 kB / 498.2 MB, free: 20.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.3642, allocations: 0.9448 MB / 499.2 MB, free: 20.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009056/0.3651, allocations: 363.4 kB / 499.5 MB, free: 20.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008599/0.366, allocations: 373.7 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.3667, allocations: 417.4 kB / 0.4886 GB, free: 19.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.3669, allocations: 108 kB / 0.4887 GB, free: 19.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.3673, allocations: 137.7 kB / 0.4888 GB, free: 19.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.3676, allocations: 240.8 kB / 0.489 GB, free: 19.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.3681, allocations: 468.1 kB / 0.4895 GB, free: 19.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.37, allocations: 1.198 MB / 0.4907 GB, free: 18.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.37, allocations: 0 / 0.4907 GB, free: 18.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.37, allocations: 0 / 0.4907 GB, free: 18.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.37, allocations: 5.297 kB / 0.4907 GB, free: 18.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002926/0.3729, allocations: 1.258 MB / 0.4919 GB, free: 17.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.373, allocations: 12.8 kB / 0.4919 GB, free: 17.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.3732, allocations: 102.4 kB / 0.492 GB, free: 17.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.3744, allocations: 0.5649 MB / 0.4926 GB, free: 16.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.773e-05/0.3745, allocations: 62.11 kB / 0.4926 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.3747, allocations: 82.41 kB / 0.4927 GB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.377, allocations: 0.7307 MB / 0.4934 GB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.377, allocations: 5.078 kB / 0.4934 GB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.3771, allocations: 31.97 kB / 0.4934 GB, free: 16.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.3771, allocations: 17.5 kB / 0.4935 GB, free: 16.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.3791, allocations: 0.5314 MB / 0.494 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006156/0.3853, allocations: 2.688 MB / 0.4966 GB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.387, allocations: 448.1 kB / 0.497 GB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.3877, allocations: 170.4 kB / 0.4972 GB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-05/0.3877, allocations: 8.547 kB / 0.4972 GB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009485/0.3887, allocations: 274.6 kB / 0.4975 GB, free: 13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 3.947e-06/0.3887, allocations: 0 / 0.4975 GB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002872/0.3916, allocations: 0.7377 MB / 0.4982 GB, free: 12.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3916, allocations: 138.8 kB / 0.4983 GB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.3932, allocations: 0.6745 MB / 0.499 GB, free: 12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.3933, allocations: 37.17 kB / 0.499 GB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.3936, allocations: 391.7 kB / 0.4994 GB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.3938, allocations: 122.9 kB / 0.4995 GB, free: 11.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.3941, allocations: 102.5 kB / 0.4996 GB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3942, allocations: 377.2 kB / 0.5 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000807/0.395, allocations: 181.2 kB / 0.5001 GB, free: 10.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.3959, allocations: 297.5 kB / 0.5004 GB, free: 10.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.3975, allocations: 0.5987 MB / 0.501 GB, free: 10.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.3975, allocations: 1.188 kB / 0.501 GB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002288/0.3998, allocations: 0.6708 MB / 0.5016 GB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.3999, allocations: 94.72 kB / 0.5017 GB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3999, allocations: 4.125 kB / 0.5017 GB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.4001, allocations: 22.61 kB / 0.5018 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/0.4008, allocations: 101.1 kB / 0.5019 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.402, allocations: 1.39 MB / 0.5032 GB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/0.403, allocations: 83.08 kB / 0.5033 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.4031, allocations: 20.75 kB / 0.5033 GB, free: 8.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001177/0.4043, allocations: 365.5 kB / 0.5037 GB, free: 8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000769/0.405, allocations: 282.8 kB / 0.5039 GB, free: 7.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/0.4065, allocations: 0.5807 MB / 0.5045 GB, free: 7.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.4065, allocations: 0 / 0.5045 GB, free: 7.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002028/0.4085, allocations: 0.6559 MB / 0.5051 GB, free: 6.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.4085, allocations: 87.67 kB / 0.5052 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4086, allocations: 2.375 kB / 0.5052 GB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.4087, allocations: 27.56 kB / 0.5053 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.4093, allocations: 93.19 kB / 0.5053 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.4104, allocations: 1.402 MB / 0.5067 GB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.4112, allocations: 70.67 kB / 0.5068 GB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.4113, allocations: 20.31 kB / 0.5068 GB, free: 5.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.4115, allocations: 263.7 kB / 0.5071 GB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.4117, allocations: 68.81 kB / 0.5071 GB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.4136, allocations: 0.5347 MB / 0.5076 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4136, allocations: 3.062 kB / 0.5076 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4136, allocations: 0 / 0.5076 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4137, allocations: 5.297 kB / 0.5076 GB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.4172, allocations: 1.27 MB / 0.5089 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4172, allocations: 0 / 0.5089 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/0.4178, allocations: 65.3 kB / 0.5089 GB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.418, allocations: 23.72 kB / 0.509 GB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.418, allocations: 7.469 kB / 0.509 GB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.4191, allocations: 1.396 MB / 0.5103 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4191, allocations: 3.938 kB / 0.5103 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.4218, allocations: 0.8299 MB / 0.5112 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.422, allocations: 146.1 kB / 0.5113 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.4222, allocations: 8.156 kB / 0.5113 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006843/0.4229, allocations: 49.55 kB / 0.5114 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.4231, allocations: 36.86 kB / 0.5114 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.4231, allocations: 8.594 kB / 0.5114 GB, free: 1.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.4241, allocations: 486 kB / 0.5119 GB, free: 1.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4241, allocations: 0 / 0.5119 GB, free: 1.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001611/0.4257, allocations: 311.5 kB / 0.5122 GB, free: 0.8711 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/0.4277, allocations: 383.7 kB / 0.5125 GB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.431, allocations: 1.196 MB / 0.5137 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.431, allocations: 0 / 0.5137 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4324, allocations: 433.1 kB / 0.5141 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.4339, allocations: 94.42 kB / 0.5142 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.4386, allocations: 1.381 MB / 0.5155 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.4392, allocations: 0.9407 MB / 0.5165 GB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.4396, allocations: 72.33 kB / 0.5165 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.4397, allocations: 39.44 kB / 0.5166 GB, free: 12.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4397, allocations: 0 / 0.5166 GB, free: 12.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01692/0.4566, allocations: 7.953 MB / 0.5243 GB, free: 4.367 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.134885610081255]