Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.00149/0.00149, allocations: 79.03 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001379/0.001379, allocations: 173.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.34/1.34, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.03862/0.03862, allocations: 6.484 MB / 265.7 MB, free: 10.27 MB / 254.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/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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.155e-05, allocations: 2.281 kB / 392.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.00693/0.006952, allocations: 4.801 MB / 396.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.01051, allocations: 2.274 MB / 399.2 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.01083, allocations: 19.88 kB / 399.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.01129, allocations: 202.5 kB / 399.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007158/0.01201, allocations: 301.9 kB / 399.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.01271, allocations: 379.2 kB / 400.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.01383, allocations: 0.9739 MB / 401.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.01433, allocations: 319.5 kB / 401.4 MB, free: 432 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.01508, allocations: 0.5652 MB / 401.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.01557, allocations: 327 kB / 402.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.01572, allocations: 108 kB / 402.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.01607, allocations: 203.8 kB / 402.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.01629, allocations: 219.2 kB / 402.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.01662, allocations: 295.2 kB / 403.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.01796, allocations: 1.215 MB / 404.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.01797, allocations: 0 / 404.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01797, allocations: 7.938 kB / 404.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.01798, allocations: 0 / 404.3 MB, free: 13.5 MB / 334.1 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.002072/0.02005, allocations: 1.154 MB / 405.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.02008, allocations: 8.031 kB / 405.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.02025, allocations: 104.3 kB / 405.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.02101, allocations: 459.3 kB / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.02115, allocations: 105.3 kB / 406.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.02127, allocations: 76.33 kB / 406.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.02279, allocations: 0.8455 MB / 407 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.02281, allocations: 0 / 407 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.02288, allocations: 31.98 kB / 407.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.02289, allocations: 16 kB / 407.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.02432, allocations: 0.5862 MB / 407.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.0279, allocations: 2.192 MB / 409.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.02898, allocations: 427.3 kB / 410.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.02951, allocations: 228.4 kB / 410.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.02955, allocations: 8.281 kB / 410.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.03024, allocations: 385.5 kB / 410.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.794e-06/0.03025, allocations: 0 / 410.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001921/0.03217, allocations: 0.7929 MB / 411.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.03228, allocations: 170.2 kB / 411.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.03295, allocations: 0.533 MB / 412.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.03299, allocations: 37.7 kB / 412.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.03331, allocations: 372.5 kB / 412.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.03344, allocations: 126.9 kB / 412.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.0336, allocations: 102.1 kB / 413 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.03379, allocations: 362.8 kB / 413.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.03436, allocations: 271.8 kB / 413.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.03506, allocations: 447.9 kB / 414.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.03622, allocations: 0.6078 MB / 414.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.03623, allocations: 7.938 kB / 414.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001492/0.03772, allocations: 0.7555 MB / 415.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.0378, allocations: 97.09 kB / 415.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.03781, allocations: 4 kB / 415.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.03796, allocations: 29.22 kB / 415.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.03839, allocations: 103.8 kB / 415.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.03947, allocations: 1.253 MB / 416.9 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.03994, allocations: 83.78 kB / 417 MB, free: 0 / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.04, allocations: 20.05 kB / 417 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006997/0.0407, allocations: 434.1 kB / 417.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006367/0.04134, allocations: 439.9 kB / 417.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001016/0.04236, allocations: 0.5902 MB / 418.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.678e-06/0.04236, allocations: 4 kB / 418.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001377/0.04374, allocations: 0.734 MB / 419.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.04381, allocations: 95.91 kB / 419.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.04382, allocations: 4 kB / 419.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-05/0.04391, allocations: 32.78 kB / 419.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.04428, allocations: 88.23 kB / 419.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.0454, allocations: 1.264 MB / 420.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.04586, allocations: 71.73 kB / 420.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.0459, allocations: 23.98 kB / 420.8 MB, free: 11.88 MB / 350.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: 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.0002565/0.04616, allocations: 272.4 kB / 421 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.04626, allocations: 55.62 kB / 421.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.04761, allocations: 0.6005 MB / 421.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.04761, allocations: 8 kB / 421.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.04762, allocations: 0 / 421.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.04763, allocations: 3.984 kB / 421.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.04976, allocations: 1.135 MB / 422.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.04977, allocations: 0 / 422.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.05012, allocations: 71.94 kB / 422.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.779e-05/0.05021, allocations: 28.78 kB / 422.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.05024, allocations: 12 kB / 422.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.05132, allocations: 1.244 MB / 424.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.05132, allocations: 4.188 kB / 424.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.05318, allocations: 0.9605 MB / 425.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.05337, allocations: 95.55 kB / 425.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.05345, allocations: 11.98 kB / 425.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.05386, allocations: 47.95 kB / 425.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.05398, allocations: 31.94 kB / 425.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.05402, allocations: 16 kB / 425.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004857/0.0545, allocations: 370.9 kB / 425.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0545, allocations: 4 kB / 425.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000956/0.05546, allocations: 338.8 kB / 426 MB, free: 6.312 MB / 350.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,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.001934/0.05739, allocations: 500 kB / 426.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.05985, allocations: 1.454 MB / 428 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.05986, allocations: 0 / 428 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008067/0.06066, allocations: 480.7 kB / 428.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.06124, allocations: 89.59 kB / 428.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.06352, allocations: 1.254 MB / 429.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.06387, allocations: 313.1 kB / 430.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00024/0.06411, allocations: 59.23 kB / 430.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.06425, allocations: 44.48 kB / 430.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.06425, allocations: 3.938 kB / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Templates: time 0.01543/0.07968, allocations: 7.809 MB / 438 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.450565945357084] Failed to read output from testmodel.py, exit status != 0: 0.0879770778119564 0.24780300000000002 0.22703397500000003 Calling exit ...