Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0008292/0.0008292, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009153/0.0009153, allocations: 169 kB / 23.02 MB, free: 1.547 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.9389/0.9389, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02678/0.02678, allocations: 6.494 MB / 266.4 MB, free: 6.629 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.737e-05, allocations: 6.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.004716/0.004744, allocations: 5.165 MB / 343.2 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.007564, allocations: 2.333 MB / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.008049, allocations: 15.94 kB / 345.6 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.008524, allocations: 218.4 kB / 345.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.009217, allocations: 349.6 kB / 346.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.009919, allocations: 0.499 MB / 346.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.01064, allocations: 1.083 MB / 347.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.01101, allocations: 324.5 kB / 348 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.01162, allocations: 0.6198 MB / 348.7 MB, free: 144 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.01209, allocations: 366.9 kB / 349 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.01221, allocations: 116 kB / 349.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.01255, allocations: 247.7 kB / 349.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.01275, allocations: 275.1 kB / 349.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.013, allocations: 331.2 kB / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.0142, allocations: 0.8681 MB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.0142, allocations: 0 / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0142, allocations: 0 / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.01422, allocations: 3.938 kB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001462/0.01568, allocations: 1.39 MB / 352.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01572, allocations: 12.03 kB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.01592, allocations: 172.3 kB / 352.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/0.01652, allocations: 0.5507 MB / 353 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.01662, allocations: 110 kB / 353.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.0167, allocations: 80.33 kB / 353.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.01749, allocations: 0.7373 MB / 353.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.01751, allocations: 0 / 353.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.01755, allocations: 35.92 kB / 353.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.01757, allocations: 20 kB / 353.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.018, allocations: 308.4 kB / 354.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.02036, allocations: 2.446 MB / 356.7 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.02084, allocations: 291.9 kB / 357 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.02099, allocations: 139.3 kB / 357.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.02103, allocations: 12.27 kB / 357.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.02132, allocations: 305 kB / 357.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.02133, allocations: 0 / 357.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001017/0.02234, allocations: 0.5612 MB / 358 MB, free: 6.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.02242, allocations: 199.9 kB / 358.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.02298, allocations: 0.6479 MB / 358.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.02301, allocations: 37.7 kB / 358.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.02325, allocations: 483 kB / 359.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.02333, allocations: 130.9 kB / 359.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.02344, allocations: 108 kB / 359.6 MB, free: 4.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.02362, allocations: 0.5547 MB / 360.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.02379, allocations: 175.4 kB / 360.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.02407, allocations: 447.5 kB / 360.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.02444, allocations: 483.5 kB / 361.2 MB, free: 2.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02445, allocations: 4 kB / 361.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006302/0.02508, allocations: 0.6353 MB / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.02513, allocations: 97.53 kB / 361.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.02514, allocations: 4 kB / 361.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.02529, allocations: 27.67 kB / 362 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.02552, allocations: 103.8 kB / 362.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008355/0.02636, allocations: 1.724 MB / 363.8 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.0266, allocations: 79.77 kB / 363.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.02663, allocations: 24 kB / 363.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002712/0.0269, allocations: 305.1 kB / 364.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005143/0.02742, allocations: 435.4 kB / 364.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003597/0.02778, allocations: 483.6 kB / 365.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.02778, allocations: 3.938 kB / 365.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0005926/0.02837, allocations: 0.6237 MB / 365.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.02841, allocations: 97.09 kB / 365.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.02842, allocations: 4 kB / 365.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.138e-05/0.02849, allocations: 20.12 kB / 365.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.02869, allocations: 103.9 kB / 365.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/0.02936, allocations: 1.743 MB / 367.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.02957, allocations: 59.77 kB / 367.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.02959, allocations: 28.12 kB / 367.8 MB, free: 11.67 MB / 298.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.0001824/0.02978, allocations: 365.5 kB / 368.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.02986, allocations: 91.47 kB / 368.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.03035, allocations: 439.3 kB / 368.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.03035, allocations: 0 / 368.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.03035, allocations: 4 kB / 368.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.03036, allocations: 3.984 kB / 368.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.03152, allocations: 1.098 MB / 369.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03153, allocations: 0 / 369.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.03169, allocations: 59.91 kB / 369.8 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-05/0.03176, allocations: 23.67 kB / 369.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.03178, allocations: 8 kB / 369.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/0.03272, allocations: 1.732 MB / 371.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.03273, allocations: 0 / 371.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.03338, allocations: 0.7409 MB / 372.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.03353, allocations: 115.5 kB / 372.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.03357, allocations: 8 kB / 372.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.03374, allocations: 31.98 kB / 372.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.03383, allocations: 40 kB / 372.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.03386, allocations: 15.98 kB / 372.5 MB, free: 6.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004704/0.03433, allocations: 419 kB / 372.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03433, allocations: 0 / 372.9 MB, free: 6.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007961/0.03512, allocations: 370.8 kB / 373.3 MB, free: 5.832 MB / 298.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.001457/0.03658, allocations: 0.6894 MB / 374 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.0377, allocations: 1.344 MB / 375.3 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03771, allocations: 384 / 375.3 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.038, allocations: 467.6 kB / 375.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.03843, allocations: 118.1 kB / 375.9 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.04032, allocations: 1.356 MB / 377.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.04043, allocations: 166 kB / 377.4 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.04062, allocations: 76.34 kB / 377.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.04072, allocations: 52.48 kB / 377.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04072, allocations: 4 kB / 377.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of Templates: time 0.01285/0.05357, allocations: 9.531 MB / 387.1 MB, free: 8.109 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0923618427477777]