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.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.000814/0.000814, allocations: 76.52 kB / 19.93 MB, free: 4.613 MB / 18.57 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.0008751/0.0008751, allocations: 181.9 kB / 23.22 MB, free: 1.328 MB / 18.57 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 0.8529/0.8529, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0244/0.0244, allocations: 6.468 MB / 266.5 MB, free: 6.848 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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(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 2.565e-06/2.565e-06, allocations: 0 / 393 MB, free: 5.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.735e-05, allocations: 2.281 kB / 393 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.00413/0.004158, allocations: 4.097 MB / 397.1 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.007015, allocations: 2.321 MB / 399.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.007372, allocations: 19.88 kB / 399.4 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.00774, allocations: 166.6 kB / 399.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.008404, allocations: 289.8 kB / 399.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.009034, allocations: 427.8 kB / 400.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007864/0.009821, allocations: 0.9739 MB / 401.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.01023, allocations: 345 kB / 401.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.01082, allocations: 0.573 MB / 402.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.01115, allocations: 303.1 kB / 402.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-05/0.01124, allocations: 108 kB / 402.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.01139, allocations: 128 kB / 402.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.01157, allocations: 255.2 kB / 402.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.01179, allocations: 303.3 kB / 403.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009433/0.01274, allocations: 1.239 MB / 404.5 MB, free: 9.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01274, allocations: 3.938 kB / 404.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01274, allocations: 4 kB / 404.5 MB, free: 9.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.01276, allocations: 4 kB / 404.5 MB, free: 9.648 MB / 378.7 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.001459/0.01422, allocations: 1.18 MB / 405.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.01426, allocations: 12.03 kB / 405.7 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.0144, allocations: 96.33 kB / 405.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.01501, allocations: 0.507 MB / 406.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.01505, allocations: 58.38 kB / 406.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.01513, allocations: 76.33 kB / 406.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.01604, allocations: 0.8449 MB / 407.2 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.01606, allocations: 11.88 kB / 407.3 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.0161, allocations: 28 kB / 407.3 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.01611, allocations: 16 kB / 407.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.01688, allocations: 0.589 MB / 407.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.01932, allocations: 2.264 MB / 410.2 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.01999, allocations: 423.8 kB / 410.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.02025, allocations: 228.7 kB / 410.8 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.02029, allocations: 7.984 kB / 410.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.02069, allocations: 386.8 kB / 411.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.02069, allocations: 0 / 411.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001053/0.02175, allocations: 0.7826 MB / 412 MB, free: 1.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.02181, allocations: 140.5 kB / 412.1 MB, free: 1.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.0223, allocations: 0.5995 MB / 412.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.02233, allocations: 37.7 kB / 412.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.02255, allocations: 400.2 kB / 413.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.02262, allocations: 119 kB / 413.2 MB, free: 492 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.02273, allocations: 98.14 kB / 413.3 MB, free: 388 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.02285, allocations: 366.8 kB / 413.7 MB, free: 12 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.02318, allocations: 275.8 kB / 414 MB, free: 15.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.02354, allocations: 417.1 kB / 414.4 MB, free: 15.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.02414, allocations: 0.5959 MB / 415 MB, free: 14.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02415, allocations: 3.938 kB / 415 MB, free: 14.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000866/0.02501, allocations: 0.7594 MB / 415.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.02508, allocations: 96.23 kB / 415.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02509, allocations: 0 / 415.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.02524, allocations: 29.25 kB / 415.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.02547, allocations: 103.8 kB / 416 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008458/0.02631, allocations: 1.26 MB / 417.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.02657, allocations: 75.8 kB / 417.3 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.0266, allocations: 27.98 kB / 417.3 MB, free: 12.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004713/0.02707, allocations: 450.1 kB / 417.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003312/0.02741, allocations: 397.4 kB / 418.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000576/0.02798, allocations: 0.5748 MB / 418.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.02798, allocations: 0 / 418.7 MB, free: 10.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007343/0.02872, allocations: 0.7222 MB / 419.4 MB, free: 9.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.02876, allocations: 93.03 kB / 419.5 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.02877, allocations: 4 kB / 419.5 MB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.008e-05/0.02884, allocations: 28.84 kB / 419.6 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.02902, allocations: 91.83 kB / 419.7 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/0.02966, allocations: 1.272 MB / 420.9 MB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.02987, allocations: 63.75 kB / 421 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.0299, allocations: 23.98 kB / 421 MB, free: 8.004 MB / 394.7 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.0001694/0.03007, allocations: 275.6 kB / 421.3 MB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.03012, allocations: 55.62 kB / 421.3 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.03084, allocations: 0.5843 MB / 421.9 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.03084, allocations: 4 kB / 421.9 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.03084, allocations: 0 / 421.9 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.03085, allocations: 7.938 kB / 421.9 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.03202, allocations: 1.139 MB / 423.1 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.03202, allocations: 0 / 423.1 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.03219, allocations: 67.89 kB / 423.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.806e-05/0.03225, allocations: 28.78 kB / 423.2 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.03228, allocations: 8 kB / 423.2 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005841/0.03286, allocations: 1.249 MB / 424.4 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.03286, allocations: 0 / 424.4 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.03384, allocations: 0.9523 MB / 425.4 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.0339, allocations: 67.58 kB / 425.4 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.03394, allocations: 12 kB / 425.5 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.03411, allocations: 43.95 kB / 425.5 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.03421, allocations: 39.88 kB / 425.5 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.03422, allocations: 11.94 kB / 425.5 MB, free: 3.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003455/0.03457, allocations: 430.8 kB / 426 MB, free: 2.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03457, allocations: 0 / 426 MB, free: 2.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.03515, allocations: 330.9 kB / 426.3 MB, free: 2.445 MB / 394.7 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.0006541/0.0358, allocations: 389.3 kB / 426.7 MB, free: 2.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.03711, allocations: 1.435 MB / 428.1 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.03711, allocations: 4.062 kB / 428.1 MB, free: 0.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.03749, allocations: 480.7 kB / 428.6 MB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03783, allocations: 89.83 kB / 428.7 MB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.03938, allocations: 1.343 MB / 430 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.03963, allocations: 342 kB / 430.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.03979, allocations: 63.36 kB / 430.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.03987, allocations: 44.48 kB / 430.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03987, allocations: 3.938 kB / 430.5 MB, free: 14.16 MB / 410.7 MB Notification: Performance of Templates: time 0.009454/0.04932, allocations: 7.558 MB / 438 MB, free: 6.668 MB / 410.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.9394407933577895] Failed to read output from testmodel.py, exit status != 0: 0.05475995410233736 0.21052150500000003 0.196367806 Calling exit ...