Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.0008464/0.0008464, 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.001244/0.001244, 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.9424/0.9424, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02776/0.02776, allocations: 6.467 MB / 266.4 MB, free: 6.637 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.759e-05, allocations: 2.312 kB / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005355/0.005383, allocations: 5.144 MB / 343.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.007721, allocations: 1.596 MB / 344.8 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004014/0.008123, allocations: 15.94 kB / 344.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.008556, allocations: 210.5 kB / 345 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.00918, allocations: 289.8 kB / 345.3 MB, free: 4.574 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.009907, allocations: 379.3 kB / 345.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008629/0.01077, allocations: 0.9739 MB / 346.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.01118, allocations: 307.5 kB / 346.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.01183, allocations: 0.569 MB / 347.5 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.01219, allocations: 339 kB / 347.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.0123, allocations: 104 kB / 348 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.01247, allocations: 147.9 kB / 348.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.0126, allocations: 219.2 kB / 348.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.01282, allocations: 283.3 kB / 348.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007787/0.0136, allocations: 0.6734 MB / 349.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.0136, allocations: 4 kB / 349.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.0136, allocations: 0 / 349.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.01361, allocations: 0 / 349.3 MB, free: 0.5859 MB / 314.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.001441/0.01505, allocations: 1.223 MB / 350.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.01509, allocations: 8.031 kB / 350.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.01527, allocations: 156.3 kB / 350.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.0158, allocations: 470.1 kB / 351.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.01591, allocations: 113.3 kB / 351.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.01599, allocations: 72.33 kB / 351.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.01677, allocations: 0.6477 MB / 351.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.01679, allocations: 0 / 351.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01683, allocations: 28 kB / 352 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.01685, allocations: 16 kB / 352 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.01729, allocations: 315 kB / 352.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.01972, allocations: 2.328 MB / 354.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.02022, allocations: 292.5 kB / 354.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.02037, allocations: 143.6 kB / 355 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.02041, allocations: 8.281 kB / 355 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.0207, allocations: 312.7 kB / 355.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.0207, allocations: 0 / 355.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007563/0.02146, allocations: 0.5573 MB / 355.9 MB, free: 9.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.02152, allocations: 140.5 kB / 356 MB, free: 9.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.02192, allocations: 0.4946 MB / 356.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.02195, allocations: 33.7 kB / 356.6 MB, free: 8.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.02217, allocations: 427.1 kB / 357 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.81e-05/0.02226, allocations: 127 kB / 357.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02237, allocations: 99.8 kB / 357.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.02251, allocations: 0.5352 MB / 357.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.02269, allocations: 174.7 kB / 357.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.02293, allocations: 362.7 kB / 358.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.02332, allocations: 468.9 kB / 358.7 MB, free: 6.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.02332, allocations: 3.938 kB / 358.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006206/0.02394, allocations: 0.5868 MB / 359.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.024, allocations: 97.09 kB / 359.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.024, allocations: 0 / 359.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.02416, allocations: 31.61 kB / 359.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.02439, allocations: 95.83 kB / 359.5 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009489/0.02534, allocations: 1.744 MB / 361.3 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.02559, allocations: 63.7 kB / 361.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.02562, allocations: 20 kB / 361.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002921/0.02592, allocations: 296.9 kB / 361.7 MB, free: 3.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002359/0.02615, allocations: 362.6 kB / 362 MB, free: 2.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003669/0.02652, allocations: 479 kB / 362.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.02652, allocations: 0 / 362.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005717/0.02709, allocations: 0.5844 MB / 363.1 MB, free: 1.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.02713, allocations: 97.53 kB / 363.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.02714, allocations: 0 / 363.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-05/0.02721, allocations: 31.67 kB / 363.2 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.02741, allocations: 87.89 kB / 363.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007047/0.02811, allocations: 1.743 MB / 365 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.02833, allocations: 63.84 kB / 365.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.02836, allocations: 23.98 kB / 365.1 MB, free: 15.46 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.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.0001828/0.02854, allocations: 355.4 kB / 365.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.02862, allocations: 67.67 kB / 365.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.02911, allocations: 445.9 kB / 366 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.02912, allocations: 4 kB / 366 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.02912, allocations: 4 kB / 366 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.02913, allocations: 0 / 366 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.03023, allocations: 0.9809 MB / 366.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03024, allocations: 0 / 366.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.03041, allocations: 63.89 kB / 367 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.63e-05/0.03048, allocations: 15.69 kB / 367 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.03051, allocations: 11.98 kB / 367 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006527/0.03116, allocations: 1.74 MB / 368.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.03116, allocations: 0 / 368.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.0318, allocations: 0.7216 MB / 369.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.03193, allocations: 99.44 kB / 369.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.03197, allocations: 8 kB / 369.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.03214, allocations: 36.09 kB / 369.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.03223, allocations: 35.94 kB / 369.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.03225, allocations: 12 kB / 369.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.03248, allocations: 326.8 kB / 370 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03248, allocations: 0 / 370 MB, free: 10.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005865/0.03307, allocations: 303 kB / 370.3 MB, free: 9.957 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.0007401/0.03381, allocations: 354.2 kB / 370.6 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.03492, allocations: 1.326 MB / 372 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03492, allocations: 4.125 kB / 372 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.03524, allocations: 467.6 kB / 372.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.03561, allocations: 85.27 kB / 372.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.03757, allocations: 1.184 MB / 373.7 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.03767, allocations: 141.7 kB / 373.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.03785, allocations: 67.22 kB / 373.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.881e-05/0.03794, allocations: 40.48 kB / 373.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.03794, allocations: 0 / 373.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of Templates: time 0.01011/0.04805, allocations: 7.133 MB / 381.1 MB, free: 15.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.106866240967065]