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.0009393/0.0009393, allocations: 86.05 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.001489/0.001489, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9824/0.9824, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.06748/0.06748, allocations: 6.494 MB / 266.7 MB, free: 6.492 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.523e-06/1.523e-06, allocations: 0 / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.642e-05, allocations: 6.312 kB / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005059/0.005076, allocations: 5.032 MB / 343.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.00767, allocations: 2.321 MB / 345.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.00799, allocations: 23.88 kB / 345.9 MB, free: 4.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.008373, allocations: 206.5 kB / 346.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.008917, allocations: 293.9 kB / 346.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.009503, allocations: 379.3 kB / 346.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.01081, allocations: 0.9778 MB / 347.7 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.01118, allocations: 311.5 kB / 348 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.0117, allocations: 0.573 MB / 348.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.01217, allocations: 347 kB / 348.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.01241, allocations: 108 kB / 349 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.01283, allocations: 203.8 kB / 349.2 MB, free: 0.793 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.01304, allocations: 219.2 kB / 349.5 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.01332, allocations: 299.2 kB / 349.7 MB, free: 292 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.01435, allocations: 0.7397 MB / 350.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.01435, allocations: 0 / 350.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01435, allocations: 3.938 kB / 350.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.01436, allocations: 4 kB / 350.5 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.001489/0.01585, allocations: 1.258 MB / 351.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.0159, allocations: 8.031 kB / 351.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.01607, allocations: 152.3 kB / 351.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.0166, allocations: 466.1 kB / 352.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.01671, allocations: 105.3 kB / 352.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.66e-05/0.01679, allocations: 80.31 kB / 352.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.01753, allocations: 0.6334 MB / 353.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.01755, allocations: 3.938 kB / 353.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.0176, allocations: 32 kB / 353.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.01761, allocations: 16 kB / 353.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.01795, allocations: 260.3 kB / 353.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.02071, allocations: 2.246 MB / 355.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.02114, allocations: 270.5 kB / 356 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.02127, allocations: 131.6 kB / 356.1 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.02131, allocations: 12.27 kB / 356.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.02162, allocations: 304.7 kB / 356.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.873e-06/0.02163, allocations: 0 / 356.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007492/0.02238, allocations: 0.5182 MB / 357 MB, free: 8.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.02245, allocations: 166.2 kB / 357.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.02284, allocations: 494.3 kB / 357.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.02288, allocations: 37.7 kB / 357.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.02312, allocations: 435 kB / 358.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.016e-05/0.0232, allocations: 127 kB / 358.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02332, allocations: 103.8 kB / 358.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.02351, allocations: 0.5507 MB / 358.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.02367, allocations: 154.7 kB / 359 MB, free: 6.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.02394, allocations: 372 kB / 359.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.02434, allocations: 448.8 kB / 359.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.02435, allocations: 0 / 359.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006901/0.02504, allocations: 0.5591 MB / 360.3 MB, free: 4.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.511e-05/0.02511, allocations: 93.09 kB / 360.4 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.02512, allocations: 4 kB / 360.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.02527, allocations: 27.67 kB / 360.5 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.0255, allocations: 100.3 kB / 360.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.02679, allocations: 1.725 MB / 362.3 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.02703, allocations: 63.64 kB / 362.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.02706, allocations: 16 kB / 362.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002324/0.02729, allocations: 285 kB / 362.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001995/0.02749, allocations: 376 kB / 363 MB, free: 2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003081/0.0278, allocations: 454.8 kB / 363.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.0278, allocations: 0 / 363.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005477/0.02835, allocations: 0.5535 MB / 364 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.0284, allocations: 93.09 kB / 364.1 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.02841, allocations: 4 kB / 364.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.654e-05/0.02849, allocations: 23.67 kB / 364.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.02868, allocations: 95.83 kB / 364.2 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008384/0.02952, allocations: 1.721 MB / 365.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.02976, allocations: 59.72 kB / 366 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.02979, allocations: 19.98 kB / 366 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.000233/0.03003, allocations: 363.2 kB / 366.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.03012, allocations: 75.77 kB / 366.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.03057, allocations: 410 kB / 366.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.03057, allocations: 4 kB / 366.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.03058, allocations: 7.922 kB / 366.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.03059, allocations: 3.984 kB / 366.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.0315, allocations: 0.8878 MB / 367.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0315, allocations: 4 kB / 367.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.03167, allocations: 55.97 kB / 367.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.03173, allocations: 31.55 kB / 367.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.03176, allocations: 11.98 kB / 367.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009308/0.03269, allocations: 1.693 MB / 369.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.03269, allocations: 3.938 kB / 369.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.03324, allocations: 0.6943 MB / 370.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.03335, allocations: 87.56 kB / 370.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.03339, allocations: 12 kB / 370.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.03355, allocations: 35.97 kB / 370.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.03364, allocations: 35.94 kB / 370.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.03365, allocations: 8 kB / 370.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.03385, allocations: 314.6 kB / 370.7 MB, free: 9.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03385, allocations: 4 kB / 370.7 MB, free: 9.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006573/0.0345, allocations: 342.7 kB / 371.1 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.0009156/0.03542, allocations: 456.6 kB / 371.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.03644, allocations: 1.286 MB / 372.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03645, allocations: 0 / 372.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.03672, allocations: 455.6 kB / 373.2 MB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.03707, allocations: 86.44 kB / 373.3 MB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.03871, allocations: 1.179 MB / 374.5 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.03881, allocations: 137.8 kB / 374.6 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.03898, allocations: 63.22 kB / 374.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.03921, allocations: 182.1 kB / 374.9 MB, free: 5.402 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03922, allocations: 0 / 374.9 MB, free: 5.402 MB / 346.7 MB Notification: Performance of Templates: time 0.01249/0.05171, allocations: 8.464 MB / 383.3 MB, free: 13.04 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.1255421550013125]