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.001299/0.001299, 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.001217/0.001217, 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 0.9641/0.9641, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.0699/0.0699, allocations: 6.495 MB / 267.5 MB, free: 6.469 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 1.683e-06/1.683e-06, allocations: 0 / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.957e-05, allocations: 2.312 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.005082/0.005102, allocations: 5.05 MB / 344.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.007795, allocations: 2.321 MB / 346.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.008083, allocations: 15.94 kB / 346.7 MB, free: 4.148 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.00848, allocations: 226.3 kB / 346.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005306/0.00901, allocations: 341.7 kB / 347.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.009641, allocations: 0.5107 MB / 347.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.01036, allocations: 1.071 MB / 348.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.01073, allocations: 332.5 kB / 349.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.01127, allocations: 0.6081 MB / 349.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.01162, allocations: 374.9 kB / 350.1 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.263e-05/0.01171, allocations: 116 kB / 350.2 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.01195, allocations: 251.7 kB / 350.5 MB, free: 332 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.01213, allocations: 275.1 kB / 350.8 MB, free: 56 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.01235, allocations: 327.2 kB / 351.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.01309, allocations: 0.8564 MB / 351.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.01309, allocations: 4 kB / 351.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01309, allocations: 0 / 351.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.0131, allocations: 0 / 351.9 MB, free: 14.87 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001622/0.01472, allocations: 1.406 MB / 353.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.01475, allocations: 12.02 kB / 353.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.01493, allocations: 164.3 kB / 353.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.01545, allocations: 0.5429 MB / 354.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.01553, allocations: 110 kB / 354.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.01561, allocations: 76.31 kB / 354.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.01622, allocations: 0.6942 MB / 354.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.01624, allocations: 3.984 kB / 354.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.01628, allocations: 28 kB / 355 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.01629, allocations: 16 kB / 355 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.01658, allocations: 262.4 kB / 355.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.01926, allocations: 2.341 MB / 357.6 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.01962, allocations: 266.7 kB / 357.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.01975, allocations: 131.6 kB / 358 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.01978, allocations: 8.266 kB / 358 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.02003, allocations: 292.7 kB / 358.3 MB, free: 8.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.553e-06/0.02003, allocations: 4 kB / 358.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006594/0.02069, allocations: 0.5259 MB / 358.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.02079, allocations: 199.8 kB / 359 MB, free: 7.367 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008073/0.02159, allocations: 0.628 MB / 359.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.02163, allocations: 33.7 kB / 359.6 MB, free: 6.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.02197, allocations: 495 kB / 360.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.02206, allocations: 138.9 kB / 360.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.02221, allocations: 111.9 kB / 360.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.02243, allocations: 0.5663 MB / 360.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.02263, allocations: 159.3 kB / 361.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.02296, allocations: 419.5 kB / 361.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.02341, allocations: 447.5 kB / 361.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.02342, allocations: 4 kB / 362 MB, free: 4.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007232/0.02414, allocations: 0.5886 MB / 362.5 MB, free: 3.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.02421, allocations: 105 kB / 362.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.02422, allocations: 4 kB / 362.6 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.02436, allocations: 27.66 kB / 362.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.02471, allocations: 104.2 kB / 362.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009315/0.02564, allocations: 1.721 MB / 364.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.02597, allocations: 67.64 kB / 364.6 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.02601, allocations: 16 kB / 364.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003165/0.02633, allocations: 285.2 kB / 364.9 MB, free: 1.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003308/0.02666, allocations: 423.6 kB / 365.3 MB, free: 492 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004561/0.02712, allocations: 455.4 kB / 365.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.02712, allocations: 0 / 365.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001051/0.02817, allocations: 0.5889 MB / 366.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.02822, allocations: 96.06 kB / 366.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.02823, allocations: 7.938 kB / 366.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.58e-05/0.02832, allocations: 27.67 kB / 366.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.02863, allocations: 99.89 kB / 366.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008557/0.02948, allocations: 1.728 MB / 368.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.02979, allocations: 67.7 kB / 368.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.02983, allocations: 16 kB / 368.3 MB, free: 13.13 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 (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.0002131/0.03004, allocations: 367.3 kB / 368.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.03016, allocations: 83.58 kB / 368.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.03075, allocations: 419.3 kB / 369.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.03076, allocations: 4 kB / 369.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.03076, allocations: 0 / 369.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.03076, allocations: 0 / 369.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.03205, allocations: 0.9579 MB / 370.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.03205, allocations: 0 / 370.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.03229, allocations: 63.89 kB / 370.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.762e-05/0.03237, allocations: 19.69 kB / 370.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.0324, allocations: 11.98 kB / 370.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008368/0.03324, allocations: 1.697 MB / 371.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03324, allocations: 0 / 371.9 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.03406, allocations: 0.702 MB / 372.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.03425, allocations: 115.5 kB / 372.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.03432, allocations: 8 kB / 372.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.0346, allocations: 39.91 kB / 372.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.03469, allocations: 35.94 kB / 372.8 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.03472, allocations: 16 kB / 372.9 MB, free: 8.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004042/0.03512, allocations: 390.9 kB / 373.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03512, allocations: 0 / 373.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001222/0.03635, allocations: 370.8 kB / 373.6 MB, free: 7.57 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.00198/0.03833, allocations: 0.6822 MB / 374.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.03954, allocations: 1.296 MB / 375.6 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03954, allocations: 0 / 375.6 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.03991, allocations: 455.6 kB / 376 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.04048, allocations: 121.6 kB / 376.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.04275, allocations: 1.344 MB / 377.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.04289, allocations: 170 kB / 377.6 MB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.04317, allocations: 72.34 kB / 377.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.04354, allocations: 202.1 kB / 377.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.04354, allocations: 0 / 377.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of Templates: time 0.0185/0.06204, allocations: 10.45 MB / 388.4 MB, free: 8.867 MB / 362.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.2565969140268862]