Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001394/0.001394, allocations: 92.7 kB / 19.44 MB, free: 328 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.001604/0.001604, allocations: 161.7 kB / 22.75 MB, free: 1.66 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.04214/0.04214, allocations: 6.485 MB / 266 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 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 337.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.625e-05, allocations: 2.312 kB / 337.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.004334/0.00436, allocations: 4.126 MB / 341.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.007641, allocations: 2.33 MB / 343.8 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.008127, allocations: 15.94 kB / 343.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.008614, allocations: 170.6 kB / 344 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007296/0.009344, allocations: 293.9 kB / 344.3 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.01, allocations: 419.2 kB / 344.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006929/0.0107, allocations: 0.9817 MB / 345.6 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.01111, allocations: 341.1 kB / 346 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.01168, allocations: 0.5769 MB / 346.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.01201, allocations: 295.1 kB / 346.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.01212, allocations: 112 kB / 347 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.0123, allocations: 132 kB / 347.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.01247, allocations: 255.2 kB / 347.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.0127, allocations: 307.2 kB / 347.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.01394, allocations: 1.243 MB / 348.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01394, allocations: 4 kB / 348.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01395, allocations: 0 / 348.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.01397, allocations: 3.938 kB / 348.9 MB, free: 15.54 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002462/0.01643, allocations: 1.176 MB / 350.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.01646, allocations: 8.031 kB / 350.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.01677, allocations: 168.3 kB / 350.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.01779, allocations: 0.5304 MB / 350.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.01787, allocations: 62.38 kB / 350.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.01802, allocations: 84.31 kB / 350.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.01978, allocations: 0.8488 MB / 351.8 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.01981, allocations: 7.938 kB / 351.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.01989, allocations: 32 kB / 351.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.01991, allocations: 16 kB / 351.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.02144, allocations: 0.5928 MB / 352.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.02626, allocations: 2.326 MB / 354.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.02746, allocations: 426 kB / 355.1 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/0.028, allocations: 224.5 kB / 355.4 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.02805, allocations: 11.94 kB / 355.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007984/0.02885, allocations: 384.6 kB / 355.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.02885, allocations: 0 / 355.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002112/0.03096, allocations: 0.7868 MB / 356.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.03109, allocations: 144.5 kB / 356.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008894/0.03198, allocations: 0.6034 MB / 357.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.03204, allocations: 37.7 kB / 357.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.03244, allocations: 400.3 kB / 357.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.03258, allocations: 127 kB / 357.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.03277, allocations: 94.14 kB / 357.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.03301, allocations: 366.7 kB / 358.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.03361, allocations: 271.8 kB / 358.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.03434, allocations: 413.4 kB / 359 MB, free: 4.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.03557, allocations: 0.5958 MB / 359.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.03558, allocations: 0 / 359.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001721/0.0373, allocations: 0.7716 MB / 360.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.053e-05/0.03739, allocations: 93.11 kB / 360.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.0374, allocations: 7.984 kB / 360.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.03758, allocations: 24.8 kB / 360.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.03804, allocations: 99.88 kB / 360.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.03941, allocations: 1.272 MB / 361.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.03994, allocations: 83.61 kB / 361.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.03999, allocations: 20 kB / 361.9 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008397/0.04083, allocations: 446.1 kB / 362.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006682/0.0415, allocations: 397.5 kB / 362.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/0.04261, allocations: 0.5746 MB / 363.3 MB, free: 188 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.04261, allocations: 0 / 363.3 MB, free: 188 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001603/0.04422, allocations: 0.7573 MB / 364.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.0443, allocations: 89.11 kB / 364.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.0443, allocations: 4.438 kB / 364.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.04441, allocations: 28.84 kB / 364.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.0448, allocations: 95.81 kB / 364.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.04606, allocations: 1.26 MB / 365.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.04654, allocations: 71.89 kB / 365.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.04658, allocations: 23.94 kB / 365.6 MB, free: 13.69 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.0002925/0.04687, allocations: 279.4 kB / 365.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.047, allocations: 67.67 kB / 366 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.04843, allocations: 0.5843 MB / 366.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.04843, allocations: 4 kB / 366.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.04844, allocations: 3.938 kB / 366.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.04845, allocations: 3.984 kB / 366.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.05075, allocations: 1.136 MB / 367.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.05076, allocations: 3.938 kB / 367.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.05112, allocations: 67.88 kB / 367.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.05122, allocations: 16.86 kB / 367.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.05126, allocations: 11.98 kB / 367.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.05253, allocations: 1.264 MB / 369.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.05253, allocations: 0 / 369.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.05455, allocations: 0.9602 MB / 370 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.05468, allocations: 59.61 kB / 370.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.154e-05/0.05475, allocations: 16.03 kB / 370.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.05515, allocations: 39.95 kB / 370.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.05528, allocations: 35.89 kB / 370.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.05531, allocations: 19.98 kB / 370.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006233/0.05593, allocations: 430.8 kB / 370.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05593, allocations: 0 / 370.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009954/0.05693, allocations: 330.8 kB / 370.9 MB, free: 8.098 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.001708/0.05864, allocations: 397.3 kB / 371.3 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002648/0.06129, allocations: 1.427 MB / 372.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.06129, allocations: 0 / 372.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008341/0.06212, allocations: 485.7 kB / 373.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.06274, allocations: 79.89 kB / 373.3 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.06536, allocations: 1.381 MB / 374.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.0658, allocations: 349.9 kB / 375 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.06606, allocations: 63.36 kB / 375.1 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.06619, allocations: 40.48 kB / 375.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.06619, allocations: 0 / 375.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of Templates: time 0.0163/0.0825, allocations: 7.563 MB / 382.7 MB, free: 12.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5632495620520785]