Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.0008089/0.0008089, 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.000834/0.000834, allocations: 177.9 kB / 23.21 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.9243/0.9243, 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.02552/0.02552, allocations: 6.47 MB / 266.4 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.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 392.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.618e-05, allocations: 2.281 kB / 392.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.00478/0.004796, allocations: 4.793 MB / 397.7 MB, free: 420 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.006877, allocations: 2.282 MB / 400 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.00712, allocations: 15.94 kB / 400 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.00745, allocations: 198.6 kB / 400.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.007888, allocations: 305.9 kB / 400.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.008273, allocations: 372.9 kB / 400.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.008865, allocations: 0.9856 MB / 401.8 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.009452, allocations: 315.5 kB / 402.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.00988, allocations: 0.5614 MB / 402.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.01016, allocations: 323 kB / 403 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.01023, allocations: 108 kB / 403.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.01041, allocations: 211.8 kB / 403.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01054, allocations: 219.2 kB / 403.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.01072, allocations: 291.3 kB / 403.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.01151, allocations: 1.227 MB / 405.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01151, allocations: 4 kB / 405.1 MB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01151, allocations: 3.938 kB / 405.1 MB, free: 8.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01152, allocations: 0 / 405.1 MB, free: 8.996 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001144/0.01267, allocations: 1.146 MB / 406.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.01269, allocations: 8.031 kB / 406.2 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.0128, allocations: 96.33 kB / 406.3 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.01327, allocations: 467.2 kB / 406.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.123e-05/0.01335, allocations: 109.3 kB / 406.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.01343, allocations: 80.27 kB / 407 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.01425, allocations: 0.8377 MB / 407.8 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.01427, allocations: 4 kB / 407.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.01431, allocations: 32 kB / 407.8 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01432, allocations: 16 kB / 407.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.01505, allocations: 0.5784 MB / 408.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.01736, allocations: 2.195 MB / 410.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/0.01803, allocations: 414.4 kB / 411 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.0183, allocations: 232.4 kB / 411.2 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.01833, allocations: 8.281 kB / 411.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.01875, allocations: 393.6 kB / 411.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.322e-06/0.01876, allocations: 0 / 411.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001096/0.01985, allocations: 0.7811 MB / 412.4 MB, free: 1.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.01994, allocations: 170.1 kB / 412.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.02036, allocations: 0.5369 MB / 413.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.02039, allocations: 33.7 kB / 413.2 MB, free: 480 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.02058, allocations: 372.5 kB / 413.5 MB, free: 100 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.02066, allocations: 135.1 kB / 413.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.02076, allocations: 98.14 kB / 413.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.02086, allocations: 358.8 kB / 414.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.02116, allocations: 275.8 kB / 414.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.02152, allocations: 448 kB / 414.8 MB, free: 14.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.02212, allocations: 0.6076 MB / 415.4 MB, free: 14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.02213, allocations: 4 kB / 415.4 MB, free: 14 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001079/0.02321, allocations: 0.7633 MB / 416.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.02325, allocations: 93.09 kB / 416.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.02326, allocations: 8.375 kB / 416.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.02338, allocations: 36.59 kB / 416.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.02359, allocations: 99.81 kB / 416.4 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006539/0.02424, allocations: 1.253 MB / 417.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.02448, allocations: 83.78 kB / 417.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.02451, allocations: 20.09 kB / 417.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004012/0.02491, allocations: 442 kB / 418.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003279/0.02524, allocations: 428 kB / 418.6 MB, free: 10.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005352/0.02577, allocations: 0.5903 MB / 419.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.02578, allocations: 0 / 419.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007211/0.0265, allocations: 0.7379 MB / 419.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.02653, allocations: 93.09 kB / 420 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.02654, allocations: 4 kB / 420 MB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.195e-05/0.02659, allocations: 20.86 kB / 420.1 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.02677, allocations: 104.2 kB / 420.2 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005599/0.02733, allocations: 1.256 MB / 421.4 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.02754, allocations: 67.73 kB / 421.5 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.02756, allocations: 24.16 kB / 421.5 MB, free: 7.387 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: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.0001505/0.02771, allocations: 275.5 kB / 421.8 MB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.02776, allocations: 59.62 kB / 421.8 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.02845, allocations: 0.5967 MB / 422.4 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02846, allocations: 8 kB / 422.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.02846, allocations: 0 / 422.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02846, allocations: 4 kB / 422.4 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.02999, allocations: 1.143 MB / 423.6 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.02999, allocations: 0 / 423.6 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.03017, allocations: 75.88 kB / 423.7 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.483e-05/0.03022, allocations: 20.86 kB / 423.7 MB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.03025, allocations: 11.98 kB / 423.7 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005566/0.0308, allocations: 1.237 MB / 424.9 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0308, allocations: 4.156 kB / 424.9 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.03175, allocations: 0.9683 MB / 425.9 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.03186, allocations: 87.55 kB / 426 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.03189, allocations: 23.94 kB / 426 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.03207, allocations: 43.94 kB / 426.1 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.03215, allocations: 31.95 kB / 426.1 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.03217, allocations: 15.98 kB / 426.1 MB, free: 2.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.03244, allocations: 374.9 kB / 426.5 MB, free: 2.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03244, allocations: 0 / 426.5 MB, free: 2.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005276/0.03297, allocations: 334.9 kB / 426.8 MB, free: 1.816 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * 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.0007685/0.03374, allocations: 499.3 kB / 427.3 MB, free: 1.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.03502, allocations: 1.469 MB / 428.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03502, allocations: 0 / 428.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.03539, allocations: 480.7 kB / 429.2 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.03572, allocations: 77.88 kB / 429.3 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.03739, allocations: 1.296 MB / 430.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.03759, allocations: 309.1 kB / 430.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.03768, allocations: 44.48 kB / 430.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.03768, allocations: 0 / 430.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of Templates: time 0.008857/0.04654, allocations: 11.77 MB / 442.7 MB, free: 1.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2765541998669505] Failed to read output from testmodel.py, exit status != 0: 0.05226519424468279 0.208472923 0.195569666 Calling exit ...