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.001117/0.001117, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001348/0.001348, allocations: 173 kB / 23.36 MB, free: 1.129 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.154/1.154, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.02961/0.02961, allocations: 6.493 MB / 266.7 MB, free: 6.523 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.114e-06/2.114e-06, allocations: 0 / 285.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.982e-05, allocations: 2.312 kB / 285.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.1699/0.1699, allocations: 4.362 MB / 289.7 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.174, allocations: 2.427 MB / 292.1 MB, free: 18.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.1744, allocations: 16.69 kB / 292.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.1749, allocations: 162.2 kB / 292.3 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007016/0.1756, allocations: 285.8 kB / 292.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.1764, allocations: 426.5 kB / 293 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.1775, allocations: 0.9849 MB / 293.9 MB, free: 17.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.178, allocations: 352.8 kB / 294.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008018/0.1788, allocations: 0.5807 MB / 294.9 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.1794, allocations: 327.3 kB / 295.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.1795, allocations: 112.3 kB / 295.3 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.18, allocations: 210.8 kB / 295.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.1802, allocations: 254.6 kB / 295.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.1805, allocations: 319.5 kB / 296.1 MB, free: 16.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1815, allocations: 0.789 MB / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1815, allocations: 0 / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1815, allocations: 0 / 296.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.1815, allocations: 4.594 kB / 296.9 MB, free: 16.55 MB / 266.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.00147/0.183, allocations: 1.156 MB / 298 MB, free: 15.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1831, allocations: 13.45 kB / 298 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.1833, allocations: 121.9 kB / 298.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.1838, allocations: 374.2 kB / 298.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/0.1839, allocations: 54.12 kB / 298.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.184, allocations: 83.67 kB / 298.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.1848, allocations: 0.672 MB / 299.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.1848, allocations: 5.312 kB / 299.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.1848, allocations: 32.17 kB / 299.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.1849, allocations: 17.16 kB / 299.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.1852, allocations: 232.4 kB / 299.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.1876, allocations: 1.764 MB / 301.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.188, allocations: 238.1 kB / 301.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1881, allocations: 126.5 kB / 301.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1882, allocations: 5.094 kB / 301.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.1885, allocations: 289.6 kB / 302 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.1885, allocations: 1.438 kB / 302 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005624/0.189, allocations: 454.8 kB / 302.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.1891, allocations: 161.1 kB / 302.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.1896, allocations: 462.4 kB / 303.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1896, allocations: 37.61 kB / 303.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1898, allocations: 346.6 kB / 303.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.1898, allocations: 127.8 kB / 303.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1899, allocations: 93.47 kB / 303.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.19, allocations: 371.9 kB / 304 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1901, allocations: 147.3 kB / 304.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1903, allocations: 320.6 kB / 304.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.1906, allocations: 413.2 kB / 304.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1907, allocations: 1.312 kB / 304.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004749/0.1911, allocations: 478.1 kB / 305.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.1912, allocations: 90.73 kB / 305.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1912, allocations: 4.125 kB / 305.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.1913, allocations: 29.59 kB / 305.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.1917, allocations: 95.52 kB / 305.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006068/0.1923, allocations: 1.171 MB / 306.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1925, allocations: 67.28 kB / 306.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1925, allocations: 16.81 kB / 306.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001843/0.1927, allocations: 233.9 kB / 307 MB, free: 9.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001484/0.1928, allocations: 321.2 kB / 307.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002749/0.1931, allocations: 398.3 kB / 307.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.1931, allocations: 1.125 kB / 307.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004256/0.1935, allocations: 473 kB / 308.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.1936, allocations: 90.77 kB / 308.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1936, allocations: 4.594 kB / 308.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.16e-05/0.1937, allocations: 24.8 kB / 308.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1939, allocations: 101 kB / 308.4 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004245/0.1943, allocations: 1.173 MB / 309.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1945, allocations: 58.88 kB / 309.6 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1945, allocations: 16.75 kB / 309.7 MB, free: 6.828 MB / 266.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.0001271/0.1946, allocations: 281.2 kB / 309.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.1947, allocations: 51.55 kB / 310 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.195, allocations: 344.9 kB / 310.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.195, allocations: 2.094 kB / 310.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.195, allocations: 2.281 kB / 310.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.195, allocations: 3.984 kB / 310.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.1957, allocations: 0.7064 MB / 311 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1957, allocations: 0 / 311 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1959, allocations: 63.73 kB / 311.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.881e-05/0.1959, allocations: 18.19 kB / 311.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.196, allocations: 15.27 kB / 311.1 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003837/0.1963, allocations: 1.163 MB / 312.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1963, allocations: 4.125 kB / 312.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.1967, allocations: 0.5517 MB / 312.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1968, allocations: 56.38 kB / 312.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.1968, allocations: 20.09 kB / 312.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.197, allocations: 31.97 kB / 313 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.1971, allocations: 35.94 kB / 313 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1971, allocations: 8 kB / 313 MB, free: 3.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1972, allocations: 207.2 kB / 313.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1972, allocations: 0 / 313.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005711/0.1978, allocations: 358.7 kB / 313.6 MB, free: 3.391 MB / 266.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.001195/0.199, allocations: 0.5624 MB / 314.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.1996, allocations: 1.126 MB / 315.2 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.1996, allocations: 8.5 kB / 315.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1998, allocations: 389.5 kB / 315.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2001, allocations: 102.2 kB / 315.7 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2016, allocations: 1.238 MB / 317 MB, free: 44 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.2017, allocations: 150.5 kB / 317.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.2019, allocations: 51.38 kB / 317.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.2022, allocations: 151.3 kB / 317.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2022, allocations: 7.938 kB / 317.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of Templates: time 0.01363/0.2158, allocations: 8.768 MB / 326.1 MB, free: 7 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3429825147613883]