Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.000761/0.000761, allocations: 76.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.000745/0.000745, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02536/0.02536, allocations: 6.484 MB / 266.4 MB, free: 6.824 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.162e-06, allocations: 0 / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/4.157e-05, allocations: 6.219 kB / 392.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005894/0.005936, allocations: 4.812 MB / 397.7 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.009901, allocations: 2.29 MB / 400 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006842/0.01059, allocations: 15.94 kB / 400 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.01113, allocations: 194.6 kB / 400.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009423/0.01207, allocations: 305.8 kB / 400.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.01289, allocations: 382.4 kB / 400.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009786/0.01387, allocations: 0.9778 MB / 401.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.01429, allocations: 323.5 kB / 402.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.01497, allocations: 0.5575 MB / 402.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.01534, allocations: 327 kB / 403.1 MB, free: 11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.01544, allocations: 112 kB / 403.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.01576, allocations: 215.7 kB / 403.4 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.01593, allocations: 215.3 kB / 403.6 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.01616, allocations: 295.2 kB / 403.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.01722, allocations: 1.223 MB / 405.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.01723, allocations: 0 / 405.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01723, allocations: 3.938 kB / 405.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.01724, allocations: 4 kB / 405.1 MB, free: 8.945 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00162/0.01886, allocations: 1.162 MB / 406.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.01892, allocations: 12.03 kB / 406.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.01907, allocations: 92.38 kB / 406.4 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009379/0.02, allocations: 467.2 kB / 406.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.02013, allocations: 109.3 kB / 406.9 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.02021, allocations: 76.33 kB / 407 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.02118, allocations: 0.8533 MB / 407.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.0212, allocations: 0 / 407.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.02124, allocations: 28 kB / 407.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.02125, allocations: 16 kB / 407.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.02204, allocations: 0.5862 MB / 408.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.02444, allocations: 2.191 MB / 410.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.02511, allocations: 414.4 kB / 411.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.02538, allocations: 232.4 kB / 411.3 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.02542, allocations: 4.281 kB / 411.3 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.02585, allocations: 401.6 kB / 411.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.02585, allocations: 4 kB / 411.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001092/0.02695, allocations: 0.7888 MB / 412.5 MB, free: 1.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.02702, allocations: 170.1 kB / 412.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.02749, allocations: 0.5253 MB / 413.2 MB, free: 440 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.02752, allocations: 37.7 kB / 413.2 MB, free: 396 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.0277, allocations: 380.4 kB / 413.6 MB, free: 8 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.02779, allocations: 131.1 kB / 413.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003944/0.02819, allocations: 90.19 kB / 413.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.0283, allocations: 362.8 kB / 414.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.0286, allocations: 279.8 kB / 414.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.02894, allocations: 444 kB / 414.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.02953, allocations: 0.6154 MB / 415.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02953, allocations: 0 / 415.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008223/0.03035, allocations: 0.7633 MB / 416.3 MB, free: 13.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.03042, allocations: 93.09 kB / 416.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.03043, allocations: 7.75 kB / 416.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.03058, allocations: 20.86 kB / 416.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.03081, allocations: 107.8 kB / 416.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008093/0.03162, allocations: 1.245 MB / 417.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.03188, allocations: 83.64 kB / 417.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.03191, allocations: 20 kB / 417.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004629/0.03237, allocations: 442.2 kB / 418.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003376/0.03271, allocations: 431.9 kB / 418.7 MB, free: 10.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005379/0.03325, allocations: 0.5787 MB / 419.3 MB, free: 9.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.03325, allocations: 0 / 419.3 MB, free: 9.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007341/0.03398, allocations: 0.7421 MB / 420 MB, free: 9.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.03402, allocations: 93.2 kB / 420.1 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.03403, allocations: 4 kB / 420.1 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.366e-05/0.03409, allocations: 24.84 kB / 420.1 MB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.03428, allocations: 99.81 kB / 420.2 MB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009275/0.03521, allocations: 1.26 MB / 421.5 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.03545, allocations: 71.8 kB / 421.6 MB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.03547, allocations: 20 kB / 421.6 MB, free: 7.316 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.0001798/0.03565, allocations: 275.5 kB / 421.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.03571, allocations: 59.61 kB / 421.9 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.03645, allocations: 0.5967 MB / 422.5 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.03645, allocations: 4 kB / 422.5 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.03646, allocations: 0 / 422.5 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.03646, allocations: 3.938 kB / 422.5 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.03771, allocations: 1.143 MB / 423.7 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.03771, allocations: 0 / 423.7 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.03789, allocations: 67.89 kB / 423.7 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-05/0.03795, allocations: 20.84 kB / 423.7 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.03797, allocations: 8 kB / 423.7 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005998/0.03857, allocations: 1.252 MB / 425 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.03857, allocations: 4 kB / 425 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/0.03954, allocations: 0.9646 MB / 426 MB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.03967, allocations: 91.59 kB / 426.1 MB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.03971, allocations: 15.98 kB / 426.1 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.03989, allocations: 43.95 kB / 426.1 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.03998, allocations: 39.94 kB / 426.2 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.04, allocations: 15.98 kB / 426.2 MB, free: 2.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.04032, allocations: 374.9 kB / 426.5 MB, free: 2.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04032, allocations: 0 / 426.5 MB, free: 2.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006895/0.04101, allocations: 330.9 kB / 426.9 MB, free: 1.75 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.0008591/0.04187, allocations: 0.4919 MB / 427.3 MB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.04401, allocations: 1.445 MB / 428.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.04402, allocations: 0 / 428.8 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.04444, allocations: 489.7 kB / 429.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.04484, allocations: 91.23 kB / 429.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.04655, allocations: 1.288 MB / 430.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.04676, allocations: 317.4 kB / 431 MB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.04686, allocations: 44.48 kB / 431 MB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04686, allocations: 0 / 431 MB, free: 13.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01166/0.05852, allocations: 11.79 MB / 442.8 MB, free: 1.727 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.199021244421601] Failed to read output from testmodel.py, exit status != 0: 0.06628759205341339 0.24956033599999997 0.23079243399999996 Calling exit ...