Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.0009925/0.0009925, allocations: 85.17 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.0011/0.0011, allocations: 169 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 1.001/1.001, 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.02799/0.02799, allocations: 6.487 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 338.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.434e-05, allocations: 4.844 kB / 338.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004125/0.004139, allocations: 4.329 MB / 342.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.006877, allocations: 2.376 MB / 345.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.007124, allocations: 15.94 kB / 345.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.007475, allocations: 158.6 kB / 345.4 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.007955, allocations: 289.9 kB / 345.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.008401, allocations: 427.2 kB / 346.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000651/0.009052, allocations: 0.9931 MB / 347.1 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.009437, allocations: 337 kB / 347.4 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.009934, allocations: 0.5848 MB / 348 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.01025, allocations: 331.1 kB / 348.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.01035, allocations: 112 kB / 348.4 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.01055, allocations: 207.8 kB / 348.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.01072, allocations: 251.2 kB / 348.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.01092, allocations: 323.2 kB / 349.2 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.01156, allocations: 0.7824 MB / 350 MB, free: 92 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01156, allocations: 0 / 350 MB, free: 92 kB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01156, allocations: 0 / 350 MB, free: 92 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.01157, allocations: 0 / 350 MB, free: 92 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001471/0.01304, allocations: 1.307 MB / 351.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01307, allocations: 8.031 kB / 351.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.01322, allocations: 160.3 kB / 351.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.01366, allocations: 494 kB / 351.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.0137, allocations: 54.38 kB / 352 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.01377, allocations: 84.33 kB / 352.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.01438, allocations: 0.6637 MB / 352.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.0144, allocations: 7.922 kB / 352.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.01444, allocations: 28 kB / 352.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.01445, allocations: 16 kB / 352.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.0148, allocations: 261.2 kB / 353 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.01683, allocations: 2.277 MB / 355.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.01717, allocations: 262.6 kB / 355.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01727, allocations: 124.2 kB / 355.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.0173, allocations: 16 kB / 355.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.01753, allocations: 289.2 kB / 356 MB, free: 9.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.01753, allocations: 0 / 356 MB, free: 9.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005457/0.01807, allocations: 0.524 MB / 356.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.01813, allocations: 166.2 kB / 356.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.01847, allocations: 0.5023 MB / 357.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.0185, allocations: 37.7 kB / 357.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.01897, allocations: 462.9 kB / 357.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.01904, allocations: 126.9 kB / 357.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.01914, allocations: 103.8 kB / 357.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01928, allocations: 0.5468 MB / 358.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.0194, allocations: 158.7 kB / 358.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.01959, allocations: 372 kB / 358.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.01989, allocations: 452.8 kB / 359.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01989, allocations: 0 / 359.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004663/0.02036, allocations: 0.5629 MB / 359.9 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.02041, allocations: 96.22 kB / 360 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02042, allocations: 4 kB / 360 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.02053, allocations: 28.11 kB / 360.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.02073, allocations: 91.89 kB / 360.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008285/0.02156, allocations: 1.725 MB / 361.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.02183, allocations: 75.77 kB / 362 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.02185, allocations: 16 kB / 362 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002095/0.02206, allocations: 284.9 kB / 362.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002027/0.02227, allocations: 364.1 kB / 362.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002917/0.02256, allocations: 458.8 kB / 363.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.02256, allocations: 0 / 363.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004472/0.02301, allocations: 0.5416 MB / 363.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.02304, allocations: 89.09 kB / 363.7 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.02305, allocations: 4 kB / 363.7 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.026e-05/0.02311, allocations: 19.69 kB / 363.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.02329, allocations: 100.2 kB / 363.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009453/0.02423, allocations: 1.721 MB / 365.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.02441, allocations: 59.7 kB / 365.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.02443, allocations: 20 kB / 365.6 MB, free: 15.15 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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * 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.0001497/0.02458, allocations: 366.4 kB / 366 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.02464, allocations: 71.61 kB / 366 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.02502, allocations: 400.9 kB / 366.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02502, allocations: 0 / 366.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.02503, allocations: 4 kB / 366.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.02504, allocations: 7.969 kB / 366.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008784/0.02591, allocations: 0.9151 MB / 367.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02592, allocations: 4 kB / 367.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.02607, allocations: 51.97 kB / 367.4 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.02613, allocations: 23.67 kB / 367.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.02615, allocations: 8 kB / 367.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006917/0.02684, allocations: 1.721 MB / 369.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02684, allocations: 0 / 369.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005441/0.02739, allocations: 0.682 MB / 369.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.02744, allocations: 51.59 kB / 369.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.02747, allocations: 16 kB / 369.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.02762, allocations: 27.97 kB / 369.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.02769, allocations: 35.94 kB / 370 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.02771, allocations: 12 kB / 370 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.0279, allocations: 322.7 kB / 370.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0279, allocations: 0 / 370.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005386/0.02844, allocations: 354.7 kB / 370.6 MB, free: 9.824 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,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.000943/0.02938, allocations: 458.9 kB / 371.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.03065, allocations: 1.269 MB / 372.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03065, allocations: 0 / 372.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.03089, allocations: 453 kB / 372.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.03123, allocations: 89.86 kB / 372.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.0327, allocations: 1.242 MB / 374.1 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.305e-05/0.03279, allocations: 157.7 kB / 374.3 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.03294, allocations: 63.34 kB / 374.3 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.03317, allocations: 182.1 kB / 374.5 MB, free: 5.789 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03317, allocations: 3.938 kB / 374.5 MB, free: 5.785 MB / 346.7 MB Notification: Performance of Templates: time 0.01112/0.04429, allocations: 8.936 MB / 383.5 MB, free: 12.95 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.090184797067195]