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.001588/0.001588, allocations: 88.72 kB / 19.44 MB, free: 356 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.001807/0.001807, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.511/1.511, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.04326/0.04326, allocations: 6.475 MB / 266 MB, free: 6.641 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 2.384e-06/2.384e-06, allocations: 0 / 337.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.297e-05, allocations: 4.703 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.00492/0.004953, allocations: 4.092 MB / 341.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.008486, allocations: 2.33 MB / 343.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.009145, allocations: 19.94 kB / 343.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.00977, allocations: 170.6 kB / 343.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.01082, allocations: 281.9 kB / 344.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.01171, allocations: 427.2 kB / 344.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.01272, allocations: 0.9661 MB / 345.6 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.0133, allocations: 345 kB / 345.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008591/0.01416, allocations: 0.5769 MB / 346.5 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.01464, allocations: 299.1 kB / 346.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.01479, allocations: 108 kB / 346.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.01504, allocations: 132 kB / 347 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.01523, allocations: 251.2 kB / 347.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.01556, allocations: 311.2 kB / 347.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.01693, allocations: 1.235 MB / 348.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01693, allocations: 0 / 348.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01693, allocations: 0 / 348.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.182e-05/0.017, allocations: 0 / 348.8 MB, free: 15.58 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.003126/0.02012, allocations: 1.18 MB / 350 MB, free: 14.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.02016, allocations: 11.97 kB / 350 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003619/0.02052, allocations: 160.3 kB / 350.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.02169, allocations: 0.5342 MB / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.02178, allocations: 58.38 kB / 350.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.02194, allocations: 80.33 kB / 350.8 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.02412, allocations: 0.841 MB / 351.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.02416, allocations: 11.88 kB / 351.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.02424, allocations: 32 kB / 351.7 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.02427, allocations: 20 kB / 351.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.02587, allocations: 0.5772 MB / 352.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.03109, allocations: 2.314 MB / 354.6 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.03232, allocations: 419.2 kB / 355 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.03289, allocations: 228.4 kB / 355.3 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.03294, allocations: 4 kB / 355.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008352/0.03377, allocations: 392.5 kB / 355.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.03377, allocations: 4 kB / 355.7 MB, free: 8.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002201/0.03598, allocations: 0.7947 MB / 356.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.03609, allocations: 136.5 kB / 356.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.03711, allocations: 0.6034 MB / 357.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.03717, allocations: 33.7 kB / 357.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.03761, allocations: 404.2 kB / 357.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.03776, allocations: 119 kB / 357.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.03796, allocations: 98.14 kB / 357.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.0382, allocations: 358.8 kB / 358.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.03884, allocations: 279.8 kB / 358.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009904/0.03983, allocations: 413.4 kB / 358.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.04112, allocations: 0.5959 MB / 359.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.04113, allocations: 3.938 kB / 359.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001796/0.04292, allocations: 0.779 MB / 360.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-05/0.04302, allocations: 85.11 kB / 360.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.04303, allocations: 7.984 kB / 360.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.04324, allocations: 28.8 kB / 360.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.0437, allocations: 96.22 kB / 360.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.04516, allocations: 1.28 MB / 361.7 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.04571, allocations: 75.67 kB / 361.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.04576, allocations: 23.94 kB / 361.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008788/0.04664, allocations: 454.3 kB / 362.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006588/0.0473, allocations: 393.4 kB / 362.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/0.04843, allocations: 0.5707 MB / 363.2 MB, free: 248 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.04843, allocations: 4 kB / 363.2 MB, free: 244 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001687/0.05012, allocations: 0.7538 MB / 364 MB, free: 15.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.05021, allocations: 89.05 kB / 364.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.05021, allocations: 4 kB / 364.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.05034, allocations: 28.84 kB / 364.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.05075, allocations: 95.81 kB / 364.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.05235, allocations: 1.264 MB / 365.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.05289, allocations: 67.73 kB / 365.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.05295, allocations: 20 kB / 365.5 MB, free: 13.75 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.0003166/0.05327, allocations: 283.4 kB / 365.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.05346, allocations: 75.72 kB / 365.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.05496, allocations: 0.5804 MB / 366.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.05497, allocations: 4 kB / 366.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.05497, allocations: 0 / 366.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.05499, allocations: 7.922 kB / 366.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.05749, allocations: 1.132 MB / 367.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.05749, allocations: 0 / 367.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.05786, allocations: 67.88 kB / 367.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.05797, allocations: 24.8 kB / 367.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.05802, allocations: 15.98 kB / 367.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.0593, allocations: 1.256 MB / 369 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.0593, allocations: 0 / 369 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.06143, allocations: 0.9641 MB / 369.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.06158, allocations: 67.55 kB / 370 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-05/0.06166, allocations: 15.97 kB / 370 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.06208, allocations: 43.95 kB / 370.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.06222, allocations: 35.89 kB / 370.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.06226, allocations: 15.98 kB / 370.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006582/0.06292, allocations: 430.8 kB / 370.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06292, allocations: 0 / 370.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001064/0.06399, allocations: 330.9 kB / 370.9 MB, free: 8.145 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.001768/0.06575, allocations: 393.5 kB / 371.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.06878, allocations: 1.427 MB / 372.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.06879, allocations: 4.188 kB / 372.7 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.06965, allocations: 476.6 kB / 373.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.07034, allocations: 99.06 kB / 373.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.07328, allocations: 1.365 MB / 374.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.07376, allocations: 349.9 kB / 374.9 MB, free: 3.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.07406, allocations: 63.34 kB / 375 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.07419, allocations: 40.5 kB / 375.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.0742, allocations: 0 / 375.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of Templates: time 0.0189/0.09309, allocations: 7.564 MB / 382.6 MB, free: 12.34 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.90259297308512]