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.0008634/0.0008634, allocations: 93.06 kB / 19.65 MB, free: 276 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.00138/0.00138, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.8923/0.8923, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03094/0.03094, allocations: 6.466 MB / 266.4 MB, free: 6.645 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 2.935e-06/2.935e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.152e-05, allocations: 8.703 kB / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004203/0.004235, allocations: 4.395 MB / 342.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.00684, allocations: 2.376 MB / 344.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.007216, allocations: 15.94 kB / 344.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.007615, allocations: 170.6 kB / 345 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.008242, allocations: 285.9 kB / 345.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.008795, allocations: 423.3 kB / 345.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.009422, allocations: 0.9817 MB / 346.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.009781, allocations: 341 kB / 347 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.01029, allocations: 0.5808 MB / 347.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.01063, allocations: 335.1 kB / 347.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.01071, allocations: 116 kB / 348 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.01093, allocations: 203.8 kB / 348.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.01107, allocations: 251.2 kB / 348.5 MB, free: 324 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.01127, allocations: 323.4 kB / 348.8 MB, free: 16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008542/0.01213, allocations: 0.7862 MB / 349.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01213, allocations: 0 / 349.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01213, allocations: 0 / 349.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.01215, allocations: 0 / 349.6 MB, free: 15.21 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.001442/0.01359, allocations: 1.295 MB / 350.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.01363, allocations: 8.031 kB / 350.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.01381, allocations: 164.3 kB / 351.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.01439, allocations: 0.498 MB / 351.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.01444, allocations: 54.38 kB / 351.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.869e-05/0.01452, allocations: 80.33 kB / 351.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008138/0.01534, allocations: 0.7029 MB / 352.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.01536, allocations: 15.88 kB / 352.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.0154, allocations: 28 kB / 352.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.01542, allocations: 19.94 kB / 352.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.01589, allocations: 323.2 kB / 352.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.01845, allocations: 2.362 MB / 355.1 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.01893, allocations: 287.6 kB / 355.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.01908, allocations: 144.2 kB / 355.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.01912, allocations: 7.938 kB / 355.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.01943, allocations: 301.3 kB / 355.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.01943, allocations: 0 / 355.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009027/0.02033, allocations: 0.567 MB / 356.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.0204, allocations: 166.2 kB / 356.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.02084, allocations: 0.5143 MB / 357.1 MB, free: 7.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.02087, allocations: 37.7 kB / 357.1 MB, free: 7.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.0211, allocations: 455 kB / 357.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.02117, allocations: 123 kB / 357.7 MB, free: 6.652 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.0213, allocations: 103.8 kB / 357.8 MB, free: 6.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.02145, allocations: 0.543 MB / 358.3 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.02162, allocations: 170.7 kB / 358.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.02187, allocations: 396.1 kB / 358.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.02225, allocations: 476.7 kB / 359.4 MB, free: 4.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.02226, allocations: 7.938 kB / 359.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008423/0.0231, allocations: 0.5904 MB / 360 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.02316, allocations: 90.97 kB / 360 MB, free: 3.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02316, allocations: 4 kB / 360.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.02331, allocations: 36.05 kB / 360.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.02353, allocations: 87.89 kB / 360.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008342/0.02436, allocations: 1.744 MB / 361.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.0246, allocations: 79.66 kB / 362 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.02462, allocations: 20 kB / 362 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002745/0.0249, allocations: 304.9 kB / 362.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002393/0.02514, allocations: 380.1 kB / 362.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003629/0.0255, allocations: 470.9 kB / 363.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.0255, allocations: 0 / 363.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006299/0.02613, allocations: 0.5806 MB / 363.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.02618, allocations: 97.03 kB / 363.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.02618, allocations: 0 / 363.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.103e-05/0.02626, allocations: 31.67 kB / 363.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.02645, allocations: 88.28 kB / 363.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007181/0.02717, allocations: 1.74 MB / 365.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.02738, allocations: 55.77 kB / 365.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.02741, allocations: 20 kB / 365.8 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.0001854/0.0276, allocations: 367.4 kB / 366.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.02767, allocations: 79.62 kB / 366.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.02842, allocations: 425 kB / 366.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.02843, allocations: 4 kB / 366.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.02843, allocations: 0 / 366.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.02844, allocations: 7.922 kB / 366.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.02946, allocations: 1.032 MB / 367.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.02947, allocations: 3.984 kB / 367.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.02963, allocations: 59.91 kB / 367.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.131e-05/0.0297, allocations: 27.61 kB / 367.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.02972, allocations: 8 kB / 367.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006913/0.03042, allocations: 1.732 MB / 369.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03042, allocations: 4.125 kB / 369.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.0311, allocations: 0.7133 MB / 370.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.03118, allocations: 59.59 kB / 370.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.03122, allocations: 8 kB / 370.3 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.03138, allocations: 31.97 kB / 370.3 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.03147, allocations: 39.89 kB / 370.3 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.03149, allocations: 11.98 kB / 370.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002936/0.03179, allocations: 346.8 kB / 370.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03179, allocations: 4 kB / 370.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007041/0.03249, allocations: 354.7 kB / 371 MB, free: 8.156 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.001012/0.0335, allocations: 465.7 kB / 371.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.03477, allocations: 1.309 MB / 372.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.03477, allocations: 0 / 372.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.0351, allocations: 467.5 kB / 373.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.03553, allocations: 95.44 kB / 373.3 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.03772, allocations: 1.25 MB / 374.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.03783, allocations: 165.8 kB / 374.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.03802, allocations: 59.34 kB / 374.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.03811, allocations: 40.5 kB / 374.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.03811, allocations: 0 / 374.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of Templates: time 0.01187/0.04998, allocations: 8.341 MB / 383.2 MB, free: 11.92 MB / 314.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.0151687641628087]