Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00102/0.00102, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001898/0.001898, allocations: 173 kB / 23.49 MB, free: 1.059 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.02647/0.02647, allocations: 6.486 MB / 266.8 MB, free: 6.691 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.963e-05, allocations: 2.312 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.004819/0.004848, allocations: 5.134 MB / 343.2 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002794/0.007643, allocations: 2.333 MB / 345.6 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.008087, allocations: 23.94 kB / 345.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.008526, allocations: 198.6 kB / 345.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006795/0.009206, allocations: 297.9 kB / 346.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.009831, allocations: 375.2 kB / 346.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008633/0.01069, allocations: 0.9856 MB / 347.4 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.01115, allocations: 319.5 kB / 347.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007679/0.01192, allocations: 0.5691 MB / 348.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.01227, allocations: 351 kB / 348.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.782e-05/0.01237, allocations: 108 kB / 348.7 MB, free: 404 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.01265, allocations: 207.8 kB / 349 MB, free: 196 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.01281, allocations: 219.2 kB / 349.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.01305, allocations: 303.2 kB / 349.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.01393, allocations: 0.7474 MB / 350.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.01394, allocations: 0 / 350.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01394, allocations: 0 / 350.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.01395, allocations: 0 / 350.2 MB, free: 14.93 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001484/0.01543, allocations: 1.254 MB / 351.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.01547, allocations: 8.031 kB / 351.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.01566, allocations: 152.3 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.01619, allocations: 474 kB / 352.1 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.01632, allocations: 109.3 kB / 352.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.01641, allocations: 76.33 kB / 352.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.01728, allocations: 0.6881 MB / 353 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.0173, allocations: 0 / 353 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.01736, allocations: 28 kB / 353 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.01737, allocations: 16 kB / 353 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.01788, allocations: 319 kB / 353.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.02031, allocations: 2.343 MB / 355.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.02082, allocations: 283.9 kB / 355.9 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.021, allocations: 143.3 kB / 356.1 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.02103, allocations: 8.266 kB / 356.1 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.02139, allocations: 317 kB / 356.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/0.0214, allocations: 4 kB / 356.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008471/0.02224, allocations: 0.5612 MB / 357 MB, free: 7.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.02233, allocations: 170.2 kB / 357.1 MB, free: 7.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.02282, allocations: 0.4947 MB / 357.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.02285, allocations: 33.7 kB / 357.6 MB, free: 7.031 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.02311, allocations: 439.1 kB / 358.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.02321, allocations: 126.9 kB / 358.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.02333, allocations: 99.84 kB / 358.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.02349, allocations: 0.5352 MB / 358.8 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.02367, allocations: 174.7 kB / 359 MB, free: 5.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.02394, allocations: 396 kB / 359.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.02435, allocations: 476.7 kB / 359.9 MB, free: 4.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.02436, allocations: 0 / 359.9 MB, free: 4.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006564/0.02501, allocations: 0.606 MB / 360.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.02507, allocations: 93.09 kB / 360.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.02508, allocations: 7.938 kB / 360.6 MB, free: 3.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.02527, allocations: 31.61 kB / 360.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.02552, allocations: 91.89 kB / 360.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000972/0.02649, allocations: 1.733 MB / 362.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.02673, allocations: 71.64 kB / 362.5 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.02676, allocations: 20 kB / 362.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002998/0.02706, allocations: 300.9 kB / 362.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002714/0.02733, allocations: 388.2 kB / 363.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004174/0.02775, allocations: 479.1 kB / 363.6 MB, free: 380 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.02775, allocations: 3.938 kB / 363.6 MB, free: 376 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006765/0.02843, allocations: 0.5926 MB / 364.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.02847, allocations: 93.09 kB / 364.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.02848, allocations: 4 kB / 364.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.268e-05/0.02856, allocations: 23.67 kB / 364.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.02875, allocations: 95.83 kB / 364.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009611/0.02972, allocations: 1.74 MB / 366.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.02994, allocations: 55.77 kB / 366.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.02996, allocations: 23.98 kB / 366.3 MB, free: 13.55 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 (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.0001972/0.03016, allocations: 355.4 kB / 366.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.03023, allocations: 71.66 kB / 366.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.03078, allocations: 450 kB / 367.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.03079, allocations: 4 kB / 367.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.03079, allocations: 0 / 367.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.0308, allocations: 3.984 kB / 367.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.03196, allocations: 1.012 MB / 368.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.03196, allocations: 0 / 368.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.03214, allocations: 59.91 kB / 368.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.731e-05/0.03222, allocations: 23.67 kB / 368.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.03225, allocations: 19.98 kB / 368.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.03333, allocations: 1.728 MB / 370 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03333, allocations: 0 / 370 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.0341, allocations: 0.7372 MB / 370.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.03424, allocations: 91.62 kB / 370.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.03429, allocations: 19.98 kB / 370.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.03446, allocations: 27.98 kB / 370.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.03456, allocations: 35.94 kB / 370.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.03458, allocations: 15.98 kB / 370.9 MB, free: 8.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.03486, allocations: 326.8 kB / 371.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03486, allocations: 0 / 371.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007708/0.03563, allocations: 334.9 kB / 371.5 MB, free: 7.957 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.001132/0.03676, allocations: 455 kB / 372 MB, free: 7.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.03806, allocations: 1.326 MB / 373.3 MB, free: 6.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.03806, allocations: 4 kB / 373.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.03841, allocations: 475.5 kB / 373.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.03881, allocations: 97.53 kB / 373.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.04083, allocations: 1.187 MB / 375.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.04093, allocations: 145.7 kB / 375.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.04111, allocations: 63.2 kB / 375.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.0412, allocations: 40.48 kB / 375.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.0412, allocations: 0 / 375.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of Templates: time 0.01174/0.05294, allocations: 7.859 MB / 383.2 MB, free: 12.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1922116798814386]