Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001136/0.001136, 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.001315/0.001315, 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.063/1.063, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.03553/0.03553, allocations: 6.493 MB / 266.7 MB, free: 6.453 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 338.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.136e-05, allocations: 2.312 kB / 338.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006083/0.006115, allocations: 4.345 MB / 342.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.01068, allocations: 2.369 MB / 345.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.0116, allocations: 19.94 kB / 345.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.01226, allocations: 162.6 kB / 345.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.01361, allocations: 293.8 kB / 345.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.01479, allocations: 415.3 kB / 346.1 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.01617, allocations: 0.9972 MB / 347.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.0168, allocations: 349 kB / 347.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.01787, allocations: 0.5809 MB / 348 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.01839, allocations: 339 kB / 348.4 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.01857, allocations: 112 kB / 348.5 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.01895, allocations: 195.9 kB / 348.7 MB, free: 308 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.01915, allocations: 251.2 kB / 348.9 MB, free: 56 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.0196, allocations: 327.3 kB / 349.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.02095, allocations: 0.7863 MB / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.02095, allocations: 0 / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02096, allocations: 0 / 350 MB, free: 14.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.016e-05/0.02098, allocations: 0 / 350 MB, free: 14.94 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.002115/0.02309, allocations: 1.307 MB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.02315, allocations: 12.03 kB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.02342, allocations: 164.3 kB / 351.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.02419, allocations: 490 kB / 352 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.02426, allocations: 58.38 kB / 352 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.02438, allocations: 84.31 kB / 352.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.0254, allocations: 0.6715 MB / 352.8 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.02543, allocations: 7.922 kB / 352.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.02549, allocations: 36 kB / 352.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.02552, allocations: 20 kB / 352.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.026, allocations: 261.2 kB / 353.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.02972, allocations: 2.285 MB / 355.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.03023, allocations: 254.7 kB / 355.6 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.03045, allocations: 136.2 kB / 355.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.0305, allocations: 7.984 kB / 355.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.03088, allocations: 293.3 kB / 356.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.03088, allocations: 0 / 356.1 MB, free: 8.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009748/0.03185, allocations: 0.5202 MB / 356.6 MB, free: 7.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.03193, allocations: 166.2 kB / 356.7 MB, free: 7.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.03251, allocations: 0.5023 MB / 357.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.03255, allocations: 37.7 kB / 357.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.0329, allocations: 466.9 kB / 357.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.03301, allocations: 122.9 kB / 357.9 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.03317, allocations: 107.8 kB / 358 MB, free: 6.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003989/0.03357, allocations: 0.5468 MB / 358.5 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.03376, allocations: 162.7 kB / 358.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.03405, allocations: 368.1 kB / 359 MB, free: 5.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.03453, allocations: 452.7 kB / 359.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.03454, allocations: 7.938 kB / 359.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005924/0.03513, allocations: 0.5515 MB / 360 MB, free: 4.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.03519, allocations: 93.09 kB / 360.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03519, allocations: 0 / 360.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.0353, allocations: 35.66 kB / 360.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.0355, allocations: 91.83 kB / 360.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007931/0.03629, allocations: 1.725 MB / 362 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.03653, allocations: 67.66 kB / 362 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.03655, allocations: 19.98 kB / 362.1 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002575/0.03681, allocations: 280.9 kB / 362.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001955/0.03701, allocations: 368.1 kB / 362.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002828/0.03729, allocations: 450.9 kB / 363.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.03729, allocations: 7.938 kB / 363.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004359/0.03773, allocations: 0.542 MB / 363.7 MB, free: 136 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.03776, allocations: 93.09 kB / 363.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.03777, allocations: 8 kB / 363.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.791e-05/0.03784, allocations: 31.67 kB / 363.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.03801, allocations: 87.89 kB / 363.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006267/0.03863, allocations: 1.717 MB / 365.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.03881, allocations: 63.88 kB / 365.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.03883, allocations: 16 kB / 365.7 MB, free: 13.98 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 (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.000167/0.039, allocations: 359.3 kB / 366 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.03908, allocations: 71.62 kB / 366.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.03948, allocations: 404.9 kB / 366.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.03949, allocations: 8 kB / 366.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.03949, allocations: 0 / 366.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.03949, allocations: 0 / 366.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.04043, allocations: 0.9114 MB / 367.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.04043, allocations: 0 / 367.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.04058, allocations: 55.97 kB / 367.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.983e-05/0.04064, allocations: 19.62 kB / 367.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.04067, allocations: 11.98 kB / 367.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006684/0.04134, allocations: 1.729 MB / 369.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.04134, allocations: 3.938 kB / 369.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.04189, allocations: 0.6742 MB / 369.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.04196, allocations: 55.59 kB / 370 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.042, allocations: 12.12 kB / 370 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.04216, allocations: 35.97 kB / 370 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.04225, allocations: 31.95 kB / 370.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.04227, allocations: 11.98 kB / 370.1 MB, free: 9.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000298/0.04257, allocations: 322.7 kB / 370.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04257, allocations: 3.938 kB / 370.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000796/0.04336, allocations: 350.8 kB / 370.7 MB, free: 8.645 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.001041/0.0444, allocations: 465.7 kB / 371.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009604/0.04536, allocations: 1.263 MB / 372.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.04537, allocations: 4.125 kB / 372.4 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.04563, allocations: 451.6 kB / 372.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.04601, allocations: 101.2 kB / 373 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.04802, allocations: 1.254 MB / 374.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.04826, allocations: 149.7 kB / 374.4 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.0485, allocations: 67.34 kB / 374.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.04877, allocations: 186.1 kB / 374.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.04878, allocations: 0 / 374.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of Templates: time 0.01393/0.0627, allocations: 8.921 MB / 383.6 MB, free: 11.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.327854744158685]