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.0007571/0.0007571, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008317/0.0008317, 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.8983/0.8983, allocations: 177.1 MB / 203.5 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.02412/0.02412, allocations: 6.475 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.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.663e-06/1.663e-06, allocations: 0 / 392.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.995e-05, allocations: 2.281 kB / 392.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.0045/0.004519, allocations: 4.804 MB / 397.7 MB, free: 416 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.007089, allocations: 2.282 MB / 400 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.007368, allocations: 19.88 kB / 400 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.00774, allocations: 202.5 kB / 400.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.008249, allocations: 297.9 kB / 400.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.008669, allocations: 380.2 kB / 400.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.009305, allocations: 0.9817 MB / 401.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.009685, allocations: 307.5 kB / 402.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.01016, allocations: 0.5692 MB / 402.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.01047, allocations: 319 kB / 403 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.01055, allocations: 108 kB / 403.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.01075, allocations: 215.8 kB / 403.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.01088, allocations: 215.3 kB / 403.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.01106, allocations: 291.2 kB / 403.8 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.01189, allocations: 1.223 MB / 405.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.01189, allocations: 0 / 405.1 MB, free: 9.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01189, allocations: 3.938 kB / 405.1 MB, free: 9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.0119, allocations: 4 kB / 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.001271/0.01317, allocations: 1.154 MB / 406.2 MB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01321, allocations: 8.031 kB / 406.2 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.01332, allocations: 96.33 kB / 406.3 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.01382, allocations: 463.3 kB / 406.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.01391, allocations: 109.3 kB / 406.9 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.01398, allocations: 84.25 kB / 407 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008553/0.01484, allocations: 0.8377 MB / 407.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.01486, allocations: 7.938 kB / 407.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.0149, allocations: 28 kB / 407.8 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01491, allocations: 16 kB / 407.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.01565, allocations: 0.5784 MB / 408.4 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.01771, allocations: 2.184 MB / 410.6 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.01831, allocations: 425.5 kB / 411 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.01857, allocations: 232.4 kB / 411.3 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.0186, allocations: 8.281 kB / 411.3 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.01899, allocations: 397.6 kB / 411.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.313e-06/0.01899, allocations: 0 / 411.6 MB, free: 2.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009941/0.01998, allocations: 0.7888 MB / 412.4 MB, free: 1.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.02005, allocations: 162.2 kB / 412.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.02045, allocations: 0.5408 MB / 413.1 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.02048, allocations: 33.7 kB / 413.2 MB, free: 468 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.02065, allocations: 368.5 kB / 413.5 MB, free: 92 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.02073, allocations: 131 kB / 413.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.02083, allocations: 98.12 kB / 413.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.02093, allocations: 362.8 kB / 414.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.02121, allocations: 275.9 kB / 414.4 MB, free: 15.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.02156, allocations: 455.9 kB / 414.8 MB, free: 14.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.02213, allocations: 0.6037 MB / 415.4 MB, free: 13.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02214, allocations: 0 / 415.4 MB, free: 13.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007607/0.0229, allocations: 0.7634 MB / 416.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.02294, allocations: 91.92 kB / 416.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.02295, allocations: 7.938 kB / 416.3 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.02307, allocations: 32.78 kB / 416.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.02327, allocations: 104.2 kB / 416.4 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006278/0.0239, allocations: 1.249 MB / 417.7 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.02412, allocations: 79.78 kB / 417.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.02414, allocations: 28.08 kB / 417.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003974/0.02454, allocations: 438 kB / 418.2 MB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003213/0.02486, allocations: 435.9 kB / 418.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000521/0.02538, allocations: 0.5865 MB / 419.2 MB, free: 9.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/0.02538, allocations: 0 / 419.2 MB, free: 9.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007018/0.02609, allocations: 0.7379 MB / 420 MB, free: 9.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.02612, allocations: 93.09 kB / 420 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.02613, allocations: 4 kB / 420 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/0.02618, allocations: 28.78 kB / 420.1 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.02636, allocations: 95.88 kB / 420.2 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005355/0.0269, allocations: 1.26 MB / 421.4 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.0271, allocations: 67.73 kB / 421.5 MB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.02712, allocations: 20 kB / 421.5 MB, free: 7.379 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.0001399/0.02726, allocations: 279.7 kB / 421.8 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.02731, allocations: 59.62 kB / 421.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006743/0.02798, allocations: 0.5927 MB / 422.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.02799, allocations: 7.984 kB / 422.4 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.02799, allocations: 0 / 422.4 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02799, allocations: 8 kB / 422.5 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.02908, allocations: 1.146 MB / 423.6 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02909, allocations: 0 / 423.6 MB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.02925, allocations: 63.95 kB / 423.7 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.966e-05/0.0293, allocations: 28.78 kB / 423.7 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.02932, allocations: 8 kB / 423.7 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005274/0.02985, allocations: 1.241 MB / 424.9 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.02985, allocations: 4 kB / 424.9 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009508/0.0308, allocations: 0.9607 MB / 425.9 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.03092, allocations: 95.53 kB / 426 MB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.03095, allocations: 15.94 kB / 426 MB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.03114, allocations: 43.95 kB / 426.1 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.03121, allocations: 39.94 kB / 426.1 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.03123, allocations: 8 kB / 426.1 MB, free: 2.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.0315, allocations: 378.9 kB / 426.5 MB, free: 2.141 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0315, allocations: 0 / 426.5 MB, free: 2.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004971/0.032, allocations: 330.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.0007357/0.03274, allocations: 0.494 MB / 427.3 MB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.034, allocations: 1.461 MB / 428.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.034, allocations: 0 / 428.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.03437, allocations: 480.9 kB / 429.2 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.0347, allocations: 84.98 kB / 429.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.03604, allocations: 1.292 MB / 430.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.03624, allocations: 317.1 kB / 430.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.03633, allocations: 44.48 kB / 430.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.03633, allocations: 0 / 430.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of Templates: time 0.008811/0.04514, allocations: 11.76 MB / 442.7 MB, free: 1.816 MB / 410.7 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: 5.3800777634605765] Failed to read output from testmodel.py, exit status != 0: 0.05001578014343977 0.206434621 0.193168782 Calling exit ...