Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001645/0.001645, allocations: 80.3 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.001789/0.001789, allocations: 158.8 kB / 22.45 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.363/1.363, allocations: 177.2 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.03838/0.03838, allocations: 6.5 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 392.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.909e-05, allocations: 5.234 kB / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.006544/0.006563, allocations: 4.809 MB / 396.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.01027, allocations: 2.278 MB / 399.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.01064, allocations: 23.88 kB / 399.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.01106, allocations: 198.6 kB / 399.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006709/0.01173, allocations: 297.9 kB / 399.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.01243, allocations: 378.8 kB / 400.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01347, allocations: 0.9855 MB / 401.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004765/0.01395, allocations: 311.5 kB / 401.4 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.01465, allocations: 0.5614 MB / 401.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.01514, allocations: 331 kB / 402.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.01528, allocations: 108 kB / 402.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.0156, allocations: 211.8 kB / 402.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.01583, allocations: 211.3 kB / 402.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.01616, allocations: 291.3 kB / 403.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.0175, allocations: 1.223 MB / 404.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.0175, allocations: 0 / 404.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.0175, allocations: 0 / 404.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.01751, allocations: 4 kB / 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.001973/0.01949, allocations: 1.154 MB / 405.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.01952, allocations: 12.03 kB / 405.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.01969, allocations: 100.3 kB / 405.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/0.02043, allocations: 455.3 kB / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.02057, allocations: 113.2 kB / 406.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.02067, allocations: 72.33 kB / 406.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.02213, allocations: 0.8532 MB / 407 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.02215, allocations: 0 / 407 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.02222, allocations: 28 kB / 407.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.02224, allocations: 16 kB / 407.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.02362, allocations: 0.5823 MB / 407.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.027, allocations: 2.192 MB / 409.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.02804, allocations: 425 kB / 410.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.02852, allocations: 232.4 kB / 410.5 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.02855, allocations: 8.266 kB / 410.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006778/0.02923, allocations: 385.5 kB / 410.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.02923, allocations: 4 kB / 410.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001799/0.03103, allocations: 0.789 MB / 411.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.03113, allocations: 170.2 kB / 411.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.03178, allocations: 0.5369 MB / 412.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.03183, allocations: 33.7 kB / 412.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.03211, allocations: 372.5 kB / 412.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.03223, allocations: 130.9 kB / 412.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.03239, allocations: 98.14 kB / 413 MB, free: 4.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.03255, allocations: 358.8 kB / 413.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005389/0.03309, allocations: 279.8 kB / 413.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.03374, allocations: 448 kB / 414.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.03483, allocations: 0.6116 MB / 414.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.03484, allocations: 0 / 414.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001451/0.03629, allocations: 0.7595 MB / 415.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.03636, allocations: 93.09 kB / 415.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.03636, allocations: 4 kB / 415.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.03649, allocations: 32.67 kB / 415.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.0369, allocations: 104.2 kB / 415.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.0379, allocations: 1.253 MB / 416.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.03837, allocations: 83.67 kB / 417 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.03841, allocations: 23.94 kB / 417 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006923/0.0391, allocations: 438.2 kB / 417.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00064/0.03974, allocations: 436 kB / 417.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001005/0.04075, allocations: 0.5825 MB / 418.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.04075, allocations: 4 kB / 418.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001347/0.0421, allocations: 0.742 MB / 419.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.04216, allocations: 93.11 kB / 419.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.04216, allocations: 0 / 419.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.928e-05/0.04224, allocations: 28.84 kB / 419.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.04262, allocations: 95.88 kB / 419.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009745/0.0436, allocations: 1.26 MB / 420.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.04404, allocations: 71.67 kB / 420.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/0.04408, allocations: 20 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.0002227/0.0443, allocations: 268.2 kB / 421 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.04439, allocations: 63.72 kB / 421.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.0457, allocations: 0.5966 MB / 421.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.04571, allocations: 4 kB / 421.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.04571, allocations: 0 / 421.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.04571, allocations: 0 / 421.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.0477, allocations: 1.147 MB / 422.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.04771, allocations: 0 / 422.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.04807, allocations: 63.89 kB / 422.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.162e-05/0.04815, allocations: 24.84 kB / 422.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.04819, allocations: 16 kB / 422.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009753/0.04916, allocations: 1.252 MB / 424.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.04916, allocations: 0 / 424.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.05101, allocations: 0.9608 MB / 425.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.05119, allocations: 95.5 kB / 425.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.05126, allocations: 8 kB / 425.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.05168, allocations: 55.89 kB / 425.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.05179, allocations: 35.94 kB / 425.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.05182, allocations: 15.92 kB / 425.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000436/0.05225, allocations: 378.9 kB / 425.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05225, allocations: 3.938 kB / 425.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000822/0.05308, allocations: 326.9 kB / 426 MB, free: 6.305 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.001584/0.05466, allocations: 489.6 kB / 426.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.05692, allocations: 1.449 MB / 428 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.05692, allocations: 12.98 kB / 428 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.05764, allocations: 488.7 kB / 428.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.05816, allocations: 76.48 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.002021/0.06018, allocations: 1.266 MB / 429.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.06049, allocations: 313.1 kB / 430.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.06071, allocations: 51.27 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.06082, allocations: 40.48 kB / 430.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.06083, allocations: 4 kB / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Templates: time 0.01476/0.07558, allocations: 7.805 MB / 438 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.442106373608112] Failed to read output from testmodel.py, exit status != 0: 0.0834771990776062 0.24644700700000002 0.22628350700000002 Calling exit ...