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.001224/0.001224, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001203/0.001203, allocations: 165 kB / 23.27 MB, free: 1.219 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 1.035/1.035, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.02903/0.02903, allocations: 6.482 MB / 266.7 MB, free: 6.484 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.024e-06/2.024e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.855e-05, allocations: 8.641 kB / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.006385/0.006414, allocations: 5.019 MB / 343.5 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.009331, allocations: 1.593 MB / 345.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.009886, allocations: 15.94 kB / 345.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.01037, allocations: 202.5 kB / 345.3 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007254/0.0111, allocations: 297.9 kB / 345.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.01182, allocations: 371.3 kB / 346 MB, free: 4.059 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.01293, allocations: 0.97 MB / 347 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.01341, allocations: 311.5 kB / 347.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.01423, allocations: 0.5691 MB / 347.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.01466, allocations: 343 kB / 348.2 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.01478, allocations: 104 kB / 348.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.01501, allocations: 147.9 kB / 348.4 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.01519, allocations: 211.3 kB / 348.6 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.01545, allocations: 295.2 kB / 348.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.01636, allocations: 0.6695 MB / 349.6 MB, free: 452 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01637, allocations: 4 kB / 349.6 MB, free: 448 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01637, allocations: 0 / 349.6 MB, free: 448 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.01638, allocations: 0 / 349.6 MB, free: 448 kB / 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.001538/0.01792, allocations: 1.234 MB / 350.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.01796, allocations: 8.031 kB / 350.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.01816, allocations: 152.3 kB / 351 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.01871, allocations: 470 kB / 351.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.01882, allocations: 113.2 kB / 351.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.01891, allocations: 80.31 kB / 351.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.01966, allocations: 0.6008 MB / 352.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.01968, allocations: 0 / 352.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.01972, allocations: 28 kB / 352.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.01974, allocations: 16 kB / 352.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.0201, allocations: 256.3 kB / 352.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.02261, allocations: 2.231 MB / 354.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.02304, allocations: 274.8 kB / 355 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.02318, allocations: 131.6 kB / 355.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.02322, allocations: 12.27 kB / 355.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.0235, allocations: 296.7 kB / 355.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.0235, allocations: 0 / 355.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006931/0.02419, allocations: 0.5182 MB / 356 MB, free: 9.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.02425, allocations: 140.5 kB / 356.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.02464, allocations: 486.3 kB / 356.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.02468, allocations: 37.7 kB / 356.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.02492, allocations: 439 kB / 357 MB, free: 8.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.02501, allocations: 123 kB / 357.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.02515, allocations: 103.8 kB / 357.3 MB, free: 8.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.02533, allocations: 0.5468 MB / 357.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.02548, allocations: 154.7 kB / 358 MB, free: 7.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.02571, allocations: 350.5 kB / 358.3 MB, free: 7.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.02608, allocations: 436.8 kB / 358.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.02608, allocations: 4 kB / 358.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006096/0.02669, allocations: 0.5479 MB / 359.3 MB, free: 6.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.02675, allocations: 103.9 kB / 359.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.02676, allocations: 4 kB / 359.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.02687, allocations: 27.61 kB / 359.4 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.02713, allocations: 91.89 kB / 359.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/0.02794, allocations: 1.725 MB / 361.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.02819, allocations: 63.7 kB / 361.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.02822, allocations: 19.94 kB / 361.3 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002329/0.02845, allocations: 288.9 kB / 361.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002213/0.02867, allocations: 334.6 kB / 361.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003538/0.02903, allocations: 447 kB / 362.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-06/0.02903, allocations: 0 / 362.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005716/0.0296, allocations: 0.5531 MB / 362.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.02965, allocations: 93.09 kB / 363 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.02965, allocations: 4 kB / 363 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-05/0.02972, allocations: 32.09 kB / 363 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.02996, allocations: 91.84 kB / 363.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008651/0.03082, allocations: 1.709 MB / 364.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.03108, allocations: 67.83 kB / 364.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.03111, allocations: 16 kB / 364.9 MB, free: 15.85 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.0002252/0.03134, allocations: 371.2 kB / 365.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.03142, allocations: 67.67 kB / 365.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.03192, allocations: 402 kB / 365.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.03193, allocations: 4 kB / 365.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.03193, allocations: 7.938 kB / 365.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.03194, allocations: 0 / 365.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.03288, allocations: 0.8761 MB / 366.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03289, allocations: 0 / 366.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.03308, allocations: 55.91 kB / 366.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.556e-05/0.03315, allocations: 23.61 kB / 366.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.03317, allocations: 16 kB / 366.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007432/0.03392, allocations: 1.709 MB / 368.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.03392, allocations: 0 / 368.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.03456, allocations: 0.6863 MB / 369.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.03469, allocations: 87.5 kB / 369.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.03474, allocations: 12 kB / 369.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.03494, allocations: 36.06 kB / 369.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/0.03503, allocations: 35.94 kB / 369.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.03505, allocations: 12 kB / 369.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.03528, allocations: 310.6 kB / 369.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03528, allocations: 0 / 369.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007173/0.036, allocations: 307 kB / 369.9 MB, free: 10.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.0008036/0.0368, allocations: 342.3 kB / 370.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.03788, allocations: 1.278 MB / 371.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03788, allocations: 4.5 kB / 371.5 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.0382, allocations: 459.6 kB / 372 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.03864, allocations: 92.39 kB / 372.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.04033, allocations: 1.172 MB / 373.2 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.081e-05/0.04042, allocations: 141.7 kB / 373.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.0406, allocations: 59.23 kB / 373.4 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.04081, allocations: 178.1 kB / 373.6 MB, free: 6.684 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.04081, allocations: 0 / 373.6 MB, free: 6.684 MB / 346.7 MB Notification: Performance of Templates: time 0.01093/0.05174, allocations: 7.609 MB / 381.2 MB, free: 15.16 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.1724443370476365]