Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 106.6 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.739/1.739, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04361/0.04361, allocations: 8.415 MB / 305.6 MB, free: 4.316 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00319/0.00319, allocations: 67.89 kB / 422.5 MB, free: 20.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1433, allocations: 51.38 MB / 473.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.01029/0.1537, allocations: 5.145 MB / 479 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.1591, allocations: 2.098 MB / 481.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008404/0.16, allocations: 15.94 kB / 481.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.1608, allocations: 202.6 kB / 481.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.162, allocations: 238.3 kB / 481.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.163, allocations: 378.3 kB / 482 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.1644, allocations: 0.9587 MB / 482.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007242/0.1651, allocations: 482.9 kB / 483.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.1657, allocations: 370.7 kB / 483.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000616/0.1663, allocations: 426.2 kB / 484.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1664, allocations: 104 kB / 484.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.1667, allocations: 160 kB / 484.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.167, allocations: 219.3 kB / 484.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000433/0.1674, allocations: 433.9 kB / 485.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1691, allocations: 1.14 MB / 486.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1691, allocations: 4 kB / 486.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1691, allocations: 0 / 486.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.1691, allocations: 0 / 486.2 MB, free: 4.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002266/0.1714, allocations: 1.222 MB / 487.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.1714, allocations: 11.89 kB / 487.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.1716, allocations: 96.38 kB / 487.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009178/0.1726, allocations: 0.5134 MB / 488 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.1727, allocations: 83.33 kB / 488.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1728, allocations: 76 kB / 488.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1743, allocations: 0.7004 MB / 488.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.1743, allocations: 3.953 kB / 488.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.1744, allocations: 32 kB / 488.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.1744, allocations: 20 kB / 489 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.1758, allocations: 0.5165 MB / 489.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.1798, allocations: 2.585 MB / 492.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.181, allocations: 472.1 kB / 492.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.1814, allocations: 193 kB / 492.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.1815, allocations: 8.266 kB / 492.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.1822, allocations: 281.4 kB / 493 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 5.15e-06/0.1822, allocations: 0 / 493 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002037/0.1843, allocations: 0.7643 MB / 493.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/0.1844, allocations: 166.2 kB / 493.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.1854, allocations: 0.5888 MB / 494.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.1854, allocations: 37.7 kB / 494.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.1858, allocations: 368.7 kB / 494.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.186, allocations: 123.1 kB / 495 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.1862, allocations: 106.1 kB / 495.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.1865, allocations: 362.8 kB / 495.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.187, allocations: 195 kB / 495.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.1876, allocations: 308 kB / 496 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.1888, allocations: 0.5999 MB / 496.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1888, allocations: 0 / 496.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001479/0.1903, allocations: 0.6803 MB / 497.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.1905, allocations: 93.53 kB / 497.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1905, allocations: 8 kB / 497.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.1907, allocations: 32.84 kB / 497.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.1911, allocations: 99.81 kB / 497.5 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1924, allocations: 1.382 MB / 498.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.1929, allocations: 91.55 kB / 498.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.193, allocations: 28 kB / 499 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006936/0.1937, allocations: 341.2 kB / 499.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005597/0.1942, allocations: 296 kB / 499.6 MB, free: 6.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/0.1953, allocations: 0.5787 MB / 0.4885 GB, free: 5.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.1953, allocations: 0 / 0.4885 GB, free: 5.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001324/0.1966, allocations: 0.6545 MB / 0.4891 GB, free: 5.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.1967, allocations: 100.5 kB / 0.4892 GB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1967, allocations: 4 kB / 0.4892 GB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.813e-05/0.1968, allocations: 28.84 kB / 0.4892 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.1972, allocations: 95.83 kB / 0.4893 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1984, allocations: 1.386 MB / 0.4907 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.1989, allocations: 67.73 kB / 0.4907 GB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.1989, allocations: 28.08 kB / 0.4908 GB, free: 3.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.0003101/0.1992, allocations: 284.8 kB / 0.491 GB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1994, allocations: 67.58 kB / 0.4911 GB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2007, allocations: 0.5457 MB / 0.4916 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2007, allocations: 4 kB / 0.4916 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2007, allocations: 0 / 0.4916 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2007, allocations: 3.984 kB / 0.4916 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.203, allocations: 1.253 MB / 0.4929 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2031, allocations: 0 / 0.4929 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.2034, allocations: 67.94 kB / 0.4929 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.2035, allocations: 28.77 kB / 0.4929 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.2036, allocations: 12 kB / 0.493 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.2051, allocations: 1.363 MB / 0.4943 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2051, allocations: 8.062 kB / 0.4943 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.2069, allocations: 0.8597 MB / 0.4951 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.2072, allocations: 168.7 kB / 0.4953 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.2073, allocations: 12 kB / 0.4953 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.2077, allocations: 51.88 kB / 0.4954 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2078, allocations: 35.89 kB / 0.4954 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.2079, allocations: 16 kB / 0.4954 GB, free: 14.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006235/0.2085, allocations: 422.8 kB / 0.4958 GB, free: 13.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2085, allocations: 0 / 0.4958 GB, free: 13.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.2096, allocations: 299.1 kB / 0.4961 GB, free: 13.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * 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.001544/0.2111, allocations: 401.4 kB / 0.4965 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.2137, allocations: 1.276 MB / 0.4977 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2137, allocations: 0 / 0.4977 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007853/0.2145, allocations: 445.6 kB / 0.4982 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.2152, allocations: 108.2 kB / 0.4983 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.2185, allocations: 1.28 MB / 0.4995 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.2195, allocations: 0.9133 MB / 0.5004 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003942/0.2199, allocations: 60.23 kB / 0.5005 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.2201, allocations: 43.42 kB / 0.5005 GB, free: 9.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.2201, allocations: 0 / 0.5005 GB, free: 9.023 MB / 382.1 MB Notification: Performance of Templates: time 0.01985/0.24, allocations: 7.617 MB / 0.5079 GB, free: 1.441 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.556410817429423]