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.0007783/0.0007783, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000786/0.000786, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8607/0.8607, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.02502/0.02502, allocations: 6.466 MB / 266.4 MB, free: 6.852 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.405e-06/2.405e-06, allocations: 0 / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.216e-05, allocations: 3.406 kB / 392.9 MB, free: 5.219 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.00424/0.004272, allocations: 4.096 MB / 397 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.00725, allocations: 2.318 MB / 399.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.007628, allocations: 15.94 kB / 399.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.008025, allocations: 170.6 kB / 399.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006638/0.008689, allocations: 285.8 kB / 399.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.009343, allocations: 424.6 kB / 400.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008558/0.0102, allocations: 0.9739 MB / 401.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.01062, allocations: 341 kB / 401.5 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006526/0.01128, allocations: 0.5808 MB / 402.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.01164, allocations: 295 kB / 402.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.01173, allocations: 108 kB / 402.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.01189, allocations: 140 kB / 402.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.01207, allocations: 243.2 kB / 402.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.0123, allocations: 315.2 kB / 403.1 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01332, allocations: 1.239 MB / 404.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01333, allocations: 0 / 404.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01333, allocations: 0 / 404.4 MB, free: 9.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.01335, allocations: 0 / 404.4 MB, free: 9.656 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.001585/0.01494, allocations: 1.18 MB / 405.6 MB, free: 8.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.01497, allocations: 8.031 kB / 405.6 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.01511, allocations: 100.3 kB / 405.7 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.01576, allocations: 0.5147 MB / 406.2 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.01581, allocations: 54.38 kB / 406.2 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.01588, allocations: 84.31 kB / 406.3 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.01683, allocations: 0.841 MB / 407.2 MB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.01685, allocations: 7.938 kB / 407.2 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.0169, allocations: 32 kB / 407.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.01691, allocations: 16 kB / 407.2 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.01767, allocations: 0.585 MB / 407.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.02013, allocations: 2.271 MB / 410.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.02079, allocations: 423 kB / 410.5 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.02104, allocations: 232.7 kB / 410.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.02108, allocations: 7.984 kB / 410.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.02149, allocations: 386.7 kB / 411.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.0215, allocations: 0 / 411.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001054/0.02255, allocations: 0.7826 MB / 411.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.02262, allocations: 140.5 kB / 412 MB, free: 1.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.02309, allocations: 0.5957 MB / 412.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.02312, allocations: 37.7 kB / 412.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.02332, allocations: 404.2 kB / 413 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.0234, allocations: 119 kB / 413.2 MB, free: 488 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.0235, allocations: 98.12 kB / 413.3 MB, free: 384 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.02361, allocations: 366.8 kB / 413.6 MB, free: 8 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.02392, allocations: 263.9 kB / 413.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.02425, allocations: 425.2 kB / 414.3 MB, free: 15.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.02485, allocations: 0.5919 MB / 414.9 MB, free: 14.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.02485, allocations: 3.938 kB / 414.9 MB, free: 14.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007964/0.02565, allocations: 0.7597 MB / 415.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.02571, allocations: 93.09 kB / 415.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.02572, allocations: 4 kB / 415.7 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.02586, allocations: 28.84 kB / 415.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.02607, allocations: 95.81 kB / 415.9 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007816/0.02686, allocations: 1.26 MB / 417.1 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.02709, allocations: 79.64 kB / 417.2 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.02712, allocations: 24 kB / 417.2 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004416/0.02756, allocations: 450.1 kB / 417.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003159/0.02788, allocations: 397.5 kB / 418.1 MB, free: 11.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005523/0.02843, allocations: 0.5748 MB / 418.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.02844, allocations: 0 / 418.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007399/0.02918, allocations: 0.7182 MB / 419.3 MB, free: 9.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.02922, allocations: 101 kB / 419.4 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.02923, allocations: 4.438 kB / 419.4 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.475e-05/0.0293, allocations: 32.78 kB / 419.5 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.02949, allocations: 95.83 kB / 419.6 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006411/0.03013, allocations: 1.264 MB / 420.8 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.03035, allocations: 71.89 kB / 420.9 MB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.03038, allocations: 20 kB / 420.9 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.0001725/0.03055, allocations: 275.4 kB / 421.2 MB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.0306, allocations: 59.62 kB / 421.3 MB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.03131, allocations: 0.5843 MB / 421.8 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.03131, allocations: 4 kB / 421.8 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03131, allocations: 0 / 421.8 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.03132, allocations: 7.922 kB / 421.9 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.03252, allocations: 1.143 MB / 423 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.03252, allocations: 0 / 423 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.0327, allocations: 59.89 kB / 423.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.225e-05/0.03276, allocations: 28.78 kB / 423.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.03278, allocations: 8 kB / 423.1 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006008/0.03339, allocations: 1.256 MB / 424.3 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03339, allocations: 0 / 424.3 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.03435, allocations: 0.9484 MB / 425.3 MB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.03442, allocations: 67.58 kB / 425.4 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.03445, allocations: 8 kB / 425.4 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.03462, allocations: 47.95 kB / 425.4 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.03471, allocations: 35.88 kB / 425.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.03473, allocations: 12 kB / 425.5 MB, free: 3.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003354/0.03506, allocations: 430.8 kB / 425.9 MB, free: 2.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03506, allocations: 4 kB / 425.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006311/0.03569, allocations: 326.9 kB / 426.2 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.0006946/0.03639, allocations: 396.8 kB / 426.6 MB, free: 2.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.03777, allocations: 1.431 MB / 428 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03777, allocations: 0 / 428 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.03817, allocations: 481.5 kB / 428.5 MB, free: 112 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.03855, allocations: 100.5 kB / 428.6 MB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.04025, allocations: 1.376 MB / 430 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.04049, allocations: 338 kB / 430.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.04058, allocations: 44.5 kB / 430.3 MB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.04059, allocations: 0 / 430.3 MB, free: 14.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01144/0.05202, allocations: 11.95 MB / 442.3 MB, free: 2.242 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.360595273785293] Failed to read output from testmodel.py, exit status != 0: 0.058649733662605286 0.229023157 0.21410948000000002 Calling exit ...