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.00128/0.00128, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001382/0.001382, allocations: 165.4 kB / 22.46 MB, free: 5.375 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.339/1.339, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.03931/0.03931, allocations: 6.492 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.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 1.462e-06/1.462e-06, allocations: 0 / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.354e-05, allocations: 6.219 kB / 392.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.006923/0.006947, allocations: 4.805 MB / 396.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.01077, allocations: 2.278 MB / 399.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.01124, allocations: 19.88 kB / 399.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.0118, allocations: 222.4 kB / 399.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008888/0.01269, allocations: 341.7 kB / 399.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.01373, allocations: 0.5097 MB / 400.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01503, allocations: 1.064 MB / 401.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000563/0.01559, allocations: 328.5 kB / 401.7 MB, free: 120 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009393/0.01653, allocations: 0.6158 MB / 402.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.0171, allocations: 342.9 kB / 402.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.01727, allocations: 116 kB / 402.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.0177, allocations: 247.7 kB / 403 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.018, allocations: 271.1 kB / 403.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.01841, allocations: 327.2 kB / 403.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.02006, allocations: 1.414 MB / 405 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.02006, allocations: 0 / 405 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02006, allocations: 0 / 405 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.02009, allocations: 4 kB / 405 MB, free: 12.8 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002385/0.02248, allocations: 1.294 MB / 406.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.02251, allocations: 8.031 kB / 406.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.0227, allocations: 108.3 kB / 406.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.02368, allocations: 0.5831 MB / 407 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.02383, allocations: 118 kB / 407.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.02395, allocations: 72.33 kB / 407.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.02551, allocations: 0.8919 MB / 408.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.02554, allocations: 4 kB / 408.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.02561, allocations: 32 kB / 408.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.02563, allocations: 19.98 kB / 408.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.02705, allocations: 0.5784 MB / 408.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.03079, allocations: 2.301 MB / 411 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.03189, allocations: 433.3 kB / 411.4 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.03238, allocations: 228.4 kB / 411.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.03242, allocations: 8.266 kB / 411.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006962/0.03312, allocations: 389.5 kB / 412 MB, free: 5.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.505e-06/0.03312, allocations: 3.938 kB / 412 MB, free: 5.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001902/0.03503, allocations: 0.7928 MB / 412.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.03515, allocations: 195.9 kB / 413 MB, free: 4.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.03617, allocations: 0.793 MB / 413.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.03622, allocations: 37.7 kB / 413.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.03659, allocations: 432.3 kB / 414.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.0367, allocations: 126.9 kB / 414.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.03688, allocations: 110.3 kB / 414.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.03707, allocations: 374.8 kB / 414.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.03764, allocations: 284.6 kB / 415.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.03836, allocations: 0.4887 MB / 415.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.0395, allocations: 0.6182 MB / 416.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.03951, allocations: 0 / 416.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001532/0.04104, allocations: 0.7968 MB / 417 MB, free: 36 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.729e-05/0.04113, allocations: 97.03 kB / 417.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.04113, allocations: 4 kB / 417.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.04129, allocations: 28.84 kB / 417.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.04172, allocations: 112.2 kB / 417.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.04277, allocations: 1.248 MB / 418.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.04324, allocations: 79.78 kB / 418.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.04329, allocations: 28 kB / 418.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007663/0.04405, allocations: 482.4 kB / 419.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000652/0.04471, allocations: 484.5 kB / 419.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001043/0.04575, allocations: 0.5985 MB / 420.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.04575, allocations: 0 / 420.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001418/0.04717, allocations: 0.7734 MB / 421 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.04723, allocations: 93.09 kB / 421 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.04724, allocations: 4 kB / 421 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.393e-05/0.04732, allocations: 28.78 kB / 421.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.04773, allocations: 103.9 kB / 421.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.04881, allocations: 1.268 MB / 422.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.04927, allocations: 71.69 kB / 422.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.04931, allocations: 20 kB / 422.5 MB, free: 10.06 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 (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.0002531/0.04957, allocations: 287.3 kB / 422.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.04969, allocations: 71.52 kB / 422.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.05104, allocations: 0.5979 MB / 423.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.05104, allocations: 7.938 kB / 423.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.05105, allocations: 4 kB / 423.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.05105, allocations: 4 kB / 423.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.05314, allocations: 1.209 MB / 424.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.05314, allocations: 0 / 424.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.05349, allocations: 67.89 kB / 424.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/0.05358, allocations: 24.84 kB / 424.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.05361, allocations: 12 kB / 424.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009553/0.05457, allocations: 1.244 MB / 426.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.05457, allocations: 0 / 426.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.05641, allocations: 0.9606 MB / 427 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.05663, allocations: 115.5 kB / 427.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.903e-05/0.05671, allocations: 8 kB / 427.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.05714, allocations: 55.94 kB / 427.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.05725, allocations: 35.89 kB / 427.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.05729, allocations: 11.98 kB / 427.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007318/0.05802, allocations: 0.5615 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05802, allocations: 0 / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009206/0.05894, allocations: 370.8 kB / 428.2 MB, free: 4.148 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.002794/0.06173, allocations: 0.7676 MB / 428.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.06405, allocations: 1.467 MB / 430.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.06405, allocations: 0 / 430.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.06478, allocations: 477.5 kB / 430.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.06542, allocations: 120.8 kB / 431 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.06781, allocations: 1.485 MB / 432.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.06823, allocations: 384.1 kB / 432.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.06849, allocations: 76.38 kB / 432.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.06863, allocations: 48.48 kB / 433 MB, free: 15.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.06863, allocations: 3.938 kB / 433 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01761/0.08624, allocations: 9.445 MB / 442.4 MB, free: 6.062 MB / 366.1 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: 4.443006820976734] Failed to read output from testmodel.py, exit status != 0: 0.09448224306106567 0.25102556400000003 0.22831384500000002 Calling exit ...