Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.0009779/0.0009779, 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.001201/0.001201, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9101/0.9101, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.02633/0.02633, allocations: 6.479 MB / 266.4 MB, free: 6.832 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.427e-06/3.427e-06, allocations: 0 / 392.9 MB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.27e-05, allocations: 6.281 kB / 392.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.006726/0.006759, allocations: 4.797 MB / 397.7 MB, free: 412 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.0109, allocations: 2.282 MB / 400 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.01164, allocations: 15.94 kB / 400 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.01227, allocations: 226.3 kB / 400.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.01336, allocations: 345.7 kB / 400.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.01446, allocations: 0.4986 MB / 401.1 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.01571, allocations: 1.071 MB / 402.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005689/0.01628, allocations: 324.5 kB / 402.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009258/0.0172, allocations: 0.6158 MB / 403.1 MB, free: 11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.01777, allocations: 346.9 kB / 403.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.01793, allocations: 116 kB / 403.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.0184, allocations: 247.7 kB / 403.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.01865, allocations: 271.1 kB / 404 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.01901, allocations: 323.2 kB / 404.3 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.02068, allocations: 1.418 MB / 405.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02069, allocations: 8 kB / 405.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.02069, allocations: 0 / 405.8 MB, free: 8.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.02072, allocations: 3.938 kB / 405.8 MB, free: 8.293 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002326/0.02304, allocations: 1.29 MB / 407.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.02309, allocations: 8.031 kB / 407.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.0233, allocations: 112.3 kB / 407.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.02443, allocations: 0.5753 MB / 407.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.02457, allocations: 110 kB / 407.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.02468, allocations: 80.33 kB / 407.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.02616, allocations: 0.8919 MB / 408.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.02619, allocations: 4 kB / 408.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.02623, allocations: 28 kB / 408.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.02624, allocations: 16 kB / 408.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008888/0.02713, allocations: 0.5823 MB / 409.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/0.02972, allocations: 2.308 MB / 411.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/0.03045, allocations: 429.5 kB / 412.2 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.03073, allocations: 228.4 kB / 412.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.03078, allocations: 12.22 kB / 412.4 MB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.03121, allocations: 393.6 kB / 412.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/0.03121, allocations: 0 / 412.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001092/0.03231, allocations: 0.7888 MB / 413.6 MB, free: 80 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.0324, allocations: 195.9 kB / 413.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/0.03335, allocations: 0.793 MB / 414.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.03338, allocations: 33.7 kB / 414.6 MB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.0336, allocations: 432.3 kB / 415 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.03367, allocations: 126.9 kB / 415.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.03378, allocations: 106.3 kB / 415.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.03389, allocations: 374.8 kB / 415.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.0342, allocations: 288.5 kB / 415.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.03457, allocations: 488.6 kB / 416.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.03517, allocations: 0.6258 MB / 417 MB, free: 12.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.03517, allocations: 0 / 417 MB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008478/0.03602, allocations: 0.8007 MB / 417.8 MB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.03607, allocations: 97.03 kB / 417.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.03608, allocations: 4 kB / 417.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.0362, allocations: 24.86 kB / 417.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.03641, allocations: 112.1 kB / 418 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006558/0.03707, allocations: 1.256 MB / 419.3 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.03733, allocations: 75.62 kB / 419.4 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.03736, allocations: 24.16 kB / 419.4 MB, free: 9.828 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004559/0.03781, allocations: 490.5 kB / 419.9 MB, free: 9.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003419/0.03816, allocations: 488.5 kB / 420.3 MB, free: 8.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005462/0.0387, allocations: 0.5947 MB / 420.9 MB, free: 8.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.0387, allocations: 0 / 420.9 MB, free: 8.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001026/0.03973, allocations: 0.7696 MB / 421.7 MB, free: 7.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.03977, allocations: 97.09 kB / 421.8 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.03977, allocations: 4 kB / 421.8 MB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.714e-05/0.03983, allocations: 24.84 kB / 421.8 MB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.04002, allocations: 103.8 kB / 421.9 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005393/0.04056, allocations: 1.268 MB / 423.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.04077, allocations: 71.69 kB / 423.3 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.0408, allocations: 20 kB / 423.3 MB, free: 5.566 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 (62): * Single equations (assignments): 58 * 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.0001463/0.04094, allocations: 279.5 kB / 423.6 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.04101, allocations: 75.61 kB / 423.6 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.04168, allocations: 0.6018 MB / 424.2 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.04169, allocations: 4 kB / 424.2 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.04169, allocations: 0 / 424.2 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.04169, allocations: 0 / 424.2 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.04284, allocations: 1.213 MB / 425.5 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.04285, allocations: 0 / 425.5 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.04301, allocations: 67.89 kB / 425.5 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.234e-05/0.04306, allocations: 32.84 kB / 425.6 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.04308, allocations: 8 kB / 425.6 MB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005186/0.0436, allocations: 1.244 MB / 426.8 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.0436, allocations: 0 / 426.8 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.04453, allocations: 0.9606 MB / 427.8 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.04466, allocations: 115.5 kB / 427.9 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.0447, allocations: 8 kB / 427.9 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.04489, allocations: 52.03 kB / 427.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.04497, allocations: 35.94 kB / 428 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.04498, allocations: 19.92 kB / 428 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006878/0.04567, allocations: 0.5615 MB / 428.6 MB, free: 16 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04567, allocations: 0 / 428.6 MB, free: 16 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006166/0.04629, allocations: 370.8 kB / 428.9 MB, free: 15.65 MB / 410.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.001302/0.04759, allocations: 0.7601 MB / 429.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.04891, allocations: 1.475 MB / 431.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.04891, allocations: 0 / 431.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.04928, allocations: 480.7 kB / 431.6 MB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.04966, allocations: 109.9 kB / 431.7 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.05138, allocations: 1.523 MB / 433.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.05164, allocations: 379.6 kB / 433.6 MB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.05175, allocations: 52.48 kB / 433.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.05176, allocations: 0 / 433.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of Templates: time 0.1451/0.1969, allocations: 14.18 MB / 447.9 MB, free: 89.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.529292216524482] Failed to read output from testmodel.py, exit status != 0: 0.20315945893526077 0.20887945800000002 0.186598129 Calling exit ...