Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001017/0.001017, allocations: 88.23 kB / 19.64 MB, free: 308 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.0009757/0.0009757, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.06167/0.06167, allocations: 6.478 MB / 266.4 MB, free: 6.66 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.676e-05, allocations: 4.844 kB / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.003728/0.003744, allocations: 4.399 MB / 342.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.005899, allocations: 2.372 MB / 344.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.00619, allocations: 19.94 kB / 344.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.006521, allocations: 174.6 kB / 345 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.007028, allocations: 277.9 kB / 345.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.007469, allocations: 431.2 kB / 345.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.007989, allocations: 0.9739 MB / 346.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.008321, allocations: 345 kB / 347 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00046/0.008781, allocations: 0.5731 MB / 347.6 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.009088, allocations: 323.1 kB / 347.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.823e-05/0.009166, allocations: 108 kB / 348 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.009299, allocations: 135.9 kB / 348.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.009437, allocations: 255.1 kB / 348.4 MB, free: 412 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.009601, allocations: 319.2 kB / 348.7 MB, free: 92 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.01029, allocations: 0.7124 MB / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01029, allocations: 0 / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01029, allocations: 0 / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.0103, allocations: 3.938 kB / 349.4 MB, free: 15.37 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001291/0.01159, allocations: 1.272 MB / 350.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01163, allocations: 8.031 kB / 350.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.01179, allocations: 156.3 kB / 350.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.01228, allocations: 0.4902 MB / 351.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.01232, allocations: 62.38 kB / 351.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.0124, allocations: 84.31 kB / 351.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.01316, allocations: 0.6741 MB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.01318, allocations: 7.938 kB / 352.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.01324, allocations: 32 kB / 352.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.01326, allocations: 16 kB / 352.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.0137, allocations: 315.2 kB / 352.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.01608, allocations: 2.343 MB / 354.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.01669, allocations: 290.7 kB / 355.2 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.01721, allocations: 144.2 kB / 355.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.01724, allocations: 4 kB / 355.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004016/0.01764, allocations: 301.3 kB / 355.6 MB, free: 8.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.01765, allocations: 8 kB / 355.6 MB, free: 8.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.00102/0.01867, allocations: 0.5592 MB / 356.2 MB, free: 8.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.01874, allocations: 136.5 kB / 356.3 MB, free: 8.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/0.01934, allocations: 0.5104 MB / 356.8 MB, free: 7.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.01938, allocations: 37.7 kB / 356.9 MB, free: 7.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.01969, allocations: 458.9 kB / 357.3 MB, free: 7.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.01979, allocations: 126.9 kB / 357.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.01994, allocations: 103.8 kB / 357.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.02014, allocations: 0.5391 MB / 358.1 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.0204, allocations: 174.7 kB / 358.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.02074, allocations: 354.7 kB / 358.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.02127, allocations: 476.7 kB / 359 MB, free: 5.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.02127, allocations: 7.938 kB / 359.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008377/0.02211, allocations: 0.5942 MB / 359.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.02217, allocations: 89.09 kB / 359.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.02218, allocations: 4 kB / 359.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.02234, allocations: 27.67 kB / 359.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.02265, allocations: 88.33 kB / 359.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008505/0.0235, allocations: 1.744 MB / 361.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.02371, allocations: 71.59 kB / 361.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.02374, allocations: 23.98 kB / 361.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002417/0.02398, allocations: 300.9 kB / 362 MB, free: 1.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003658/0.02435, allocations: 350.9 kB / 362.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003867/0.02474, allocations: 474.8 kB / 362.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.02474, allocations: 0 / 362.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005335/0.02527, allocations: 0.5771 MB / 363.4 MB, free: 324 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.02531, allocations: 93.03 kB / 363.5 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.02531, allocations: 4 kB / 363.5 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.032e-05/0.02538, allocations: 27.67 kB / 363.5 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.02557, allocations: 95.83 kB / 363.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006997/0.02627, allocations: 1.74 MB / 365.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.02643, allocations: 55.75 kB / 365.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.02645, allocations: 24 kB / 365.4 MB, free: 14.14 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0001579/0.02661, allocations: 359.3 kB / 365.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.02667, allocations: 75.61 kB / 365.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.02723, allocations: 429 kB / 366.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.02723, allocations: 0 / 366.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02723, allocations: 4 kB / 366.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.02724, allocations: 3.938 kB / 366.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.02828, allocations: 1.024 MB / 367.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02828, allocations: 3.938 kB / 367.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.02844, allocations: 51.97 kB / 367.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.353e-05/0.0285, allocations: 27.61 kB / 367.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.02852, allocations: 12 kB / 367.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/0.02947, allocations: 1.728 MB / 369.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02948, allocations: 0 / 369.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.03022, allocations: 0.7211 MB / 369.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.03027, allocations: 59.72 kB / 369.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.03031, allocations: 12 kB / 369.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.03047, allocations: 31.97 kB / 369.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.03056, allocations: 43.88 kB / 370 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.03058, allocations: 8 kB / 370 MB, free: 9.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002356/0.03082, allocations: 342.8 kB / 370.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03082, allocations: 0 / 370.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004903/0.03131, allocations: 330.8 kB / 370.6 MB, free: 8.594 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.0007309/0.03204, allocations: 346.5 kB / 371 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.03302, allocations: 1.314 MB / 372.3 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03302, allocations: 4 kB / 372.3 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.03329, allocations: 463.6 kB / 372.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03363, allocations: 89.16 kB / 372.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.03528, allocations: 1.243 MB / 374.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.994e-05/0.03538, allocations: 153.7 kB / 374.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.03553, allocations: 67.34 kB / 374.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.03562, allocations: 40.48 kB / 374.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03562, allocations: 0 / 374.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of Templates: time 0.01092/0.04654, allocations: 7.844 MB / 382.2 MB, free: 12.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3460808829404414]