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.001018/0.001018, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001952/0.001952, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.038/1.038, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.02807/0.02807, allocations: 6.474 MB / 267.5 MB, free: 6.477 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.653e-06/1.653e-06, allocations: 0 / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.532e-05, allocations: 2.312 kB / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.00523/0.005255, allocations: 5.029 MB / 344.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.008185, allocations: 2.321 MB / 346.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.00859, allocations: 23.88 kB / 346.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.008992, allocations: 198.5 kB / 346.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.0096, allocations: 301.9 kB / 347.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.01017, allocations: 375.3 kB / 347.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008202/0.01099, allocations: 0.9778 MB / 348.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.01137, allocations: 315.5 kB / 348.8 MB, free: 2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.01193, allocations: 0.5652 MB / 349.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.01227, allocations: 347 kB / 349.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.01236, allocations: 104 kB / 349.8 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.0126, allocations: 211.8 kB / 350 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.01273, allocations: 215.3 kB / 350.2 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.01292, allocations: 303.2 kB / 350.5 MB, free: 284 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007024/0.01362, allocations: 0.7435 MB / 351.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01363, allocations: 0 / 351.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01363, allocations: 0 / 351.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01364, allocations: 0 / 351.3 MB, free: 15.53 MB / 330.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.001221/0.01486, allocations: 1.258 MB / 352.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.01489, allocations: 12.03 kB / 352.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.01504, allocations: 152.3 kB / 352.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.0155, allocations: 466.1 kB / 353.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.01558, allocations: 105.3 kB / 353.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.01565, allocations: 80.3 kB / 353.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.01625, allocations: 0.6412 MB / 354 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.01627, allocations: 0 / 354 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.0163, allocations: 28 kB / 354 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.01632, allocations: 16 kB / 354 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.0166, allocations: 264.3 kB / 354.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.0186, allocations: 2.246 MB / 356.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.01896, allocations: 273.7 kB / 356.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.01907, allocations: 131.6 kB / 356.9 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.0191, allocations: 8.281 kB / 356.9 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.01935, allocations: 292.7 kB / 357.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.01935, allocations: 4 kB / 357.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005946/0.01995, allocations: 0.5221 MB / 357.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.02001, allocations: 166.2 kB / 357.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.02034, allocations: 494.3 kB / 358.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.02037, allocations: 37.7 kB / 358.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.02057, allocations: 439 kB / 358.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.02065, allocations: 119 kB / 359 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.02075, allocations: 107.8 kB / 359.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.0209, allocations: 0.5507 MB / 359.6 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.02103, allocations: 154.7 kB / 359.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.02123, allocations: 376 kB / 360.1 MB, free: 6.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.02153, allocations: 444.8 kB / 360.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.02153, allocations: 4 kB / 360.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004699/0.022, allocations: 0.5552 MB / 361.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.02205, allocations: 93.09 kB / 361.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02205, allocations: 4 kB / 361.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/0.02216, allocations: 27.66 kB / 361.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.02237, allocations: 96.23 kB / 361.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/0.02325, allocations: 1.729 MB / 363.1 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.02347, allocations: 67.64 kB / 363.1 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.0235, allocations: 19.98 kB / 363.2 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002335/0.02373, allocations: 280.9 kB / 363.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002267/0.02396, allocations: 380.2 kB / 363.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000326/0.02428, allocations: 450.9 kB / 364.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.02429, allocations: 0 / 364.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005038/0.02479, allocations: 0.5575 MB / 364.8 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.02484, allocations: 93.09 kB / 364.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.02485, allocations: 7.938 kB / 364.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.431e-05/0.02492, allocations: 19.69 kB / 364.9 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.02511, allocations: 95.83 kB / 365 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/0.02592, allocations: 1.709 MB / 366.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.02612, allocations: 63.7 kB / 366.8 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.02615, allocations: 16 kB / 366.8 MB, free: 14.71 MB / 346.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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.000223/0.02637, allocations: 367.2 kB / 367.2 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-05/0.02645, allocations: 67.67 kB / 367.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.02687, allocations: 418 kB / 367.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.02687, allocations: 7.984 kB / 367.6 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02688, allocations: 3.938 kB / 367.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.02688, allocations: 0 / 367.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.02784, allocations: 0.8917 MB / 368.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02784, allocations: 0 / 368.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.02802, allocations: 59.97 kB / 368.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.57e-05/0.02812, allocations: 35.55 kB / 368.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.02814, allocations: 8 kB / 368.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007715/0.02891, allocations: 1.701 MB / 370.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02891, allocations: 3.938 kB / 370.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.02946, allocations: 0.6864 MB / 371 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.02956, allocations: 95.67 kB / 371.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.0296, allocations: 12 kB / 371.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.02976, allocations: 27.98 kB / 371.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.02983, allocations: 35.94 kB / 371.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.02985, allocations: 15.98 kB / 371.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.03004, allocations: 310.6 kB / 371.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03004, allocations: 3.938 kB / 371.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006239/0.03067, allocations: 334.8 kB / 371.8 MB, free: 9.363 MB / 346.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.0009064/0.03157, allocations: 457 kB / 372.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.03258, allocations: 1.286 MB / 373.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.03259, allocations: 0 / 373.6 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.03288, allocations: 459.5 kB / 374 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.03325, allocations: 91.58 kB / 374.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.03483, allocations: 1.173 MB / 375.3 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.959e-05/0.03492, allocations: 145.7 kB / 375.4 MB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.03509, allocations: 59.25 kB / 375.5 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.03531, allocations: 174.1 kB / 375.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of SimCode: time 9.61e-07/0.03531, allocations: 0 / 375.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of Templates: time 0.01388/0.04919, allocations: 8.646 MB / 384.3 MB, free: 12.85 MB / 362.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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2182238129898906]