Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.001187/0.001187, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.002232/0.002232, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9936/0.9936, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.03701/0.03701, allocations: 6.49 MB / 266.7 MB, free: 6.508 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.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.37e-05, allocations: 2.312 kB / 285.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.1356/0.1357, allocations: 5.075 MB / 290.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.1392, allocations: 2.39 MB / 292.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.1397, allocations: 20.88 kB / 292.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.1402, allocations: 218.9 kB / 293 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008251/0.141, allocations: 334.6 kB / 293.3 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.142, allocations: 0.507 MB / 293.8 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.143, allocations: 1.069 MB / 294.9 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.1434, allocations: 336 kB / 295.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007947/0.1442, allocations: 0.6156 MB / 295.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/0.1448, allocations: 361.8 kB / 296.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.1449, allocations: 116.5 kB / 296.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.1454, allocations: 252.4 kB / 296.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.1456, allocations: 275.1 kB / 296.8 MB, free: 16.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.1459, allocations: 327.5 kB / 297.1 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1469, allocations: 0.8571 MB / 298 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1469, allocations: 0 / 298 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1469, allocations: 6.125 kB / 298 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.1469, allocations: 0 / 298 MB, free: 15.64 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001484/0.1484, allocations: 1.253 MB / 299.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1484, allocations: 9.859 kB / 299.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.1486, allocations: 123.8 kB / 299.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.1491, allocations: 418.8 kB / 299.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.1492, allocations: 112 kB / 299.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.1493, allocations: 77.11 kB / 300 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.15, allocations: 0.684 MB / 300.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.15, allocations: 5.578 kB / 300.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.15, allocations: 28.12 kB / 300.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.15, allocations: 19.97 kB / 300.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1503, allocations: 228.1 kB / 300.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.1522, allocations: 1.766 MB / 302.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.1526, allocations: 252.5 kB / 303 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.1526, allocations: 120.7 kB / 303.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1527, allocations: 7.875 kB / 303.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.1529, allocations: 290.3 kB / 303.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/0.1529, allocations: 0 / 303.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.000469/0.1534, allocations: 447.4 kB / 303.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.1534, allocations: 196.4 kB / 304 MB, free: 11.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.1538, allocations: 0.5624 MB / 304.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1539, allocations: 33.27 kB / 304.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.154, allocations: 354.4 kB / 304.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.154, allocations: 127.1 kB / 305.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1541, allocations: 107.3 kB / 305.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.1542, allocations: 389.1 kB / 305.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1543, allocations: 151.5 kB / 305.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1545, allocations: 366.2 kB / 306.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.1547, allocations: 411.5 kB / 306.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1547, allocations: 0 / 306.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003969/0.1551, allocations: 498.5 kB / 306.9 MB, free: 9.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.1551, allocations: 94.06 kB / 307 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1551, allocations: 4.969 kB / 307 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.1553, allocations: 21.69 kB / 307.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.1555, allocations: 111.6 kB / 307.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005572/0.1561, allocations: 1.165 MB / 308.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.1563, allocations: 68.36 kB / 308.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1563, allocations: 16.88 kB / 308.4 MB, free: 8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002019/0.1565, allocations: 242.4 kB / 308.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001823/0.1567, allocations: 367.8 kB / 309 MB, free: 7.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000241/0.157, allocations: 418.6 kB / 309.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.157, allocations: 0 / 309.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0003282/0.1573, allocations: 0.489 MB / 309.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1573, allocations: 93.78 kB / 310 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1573, allocations: 7.125 kB / 310 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-05/0.1574, allocations: 21.66 kB / 310 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1576, allocations: 106.7 kB / 310.1 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/0.1579, allocations: 1.164 MB / 311.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.1581, allocations: 62.42 kB / 311.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1581, allocations: 18.03 kB / 311.4 MB, free: 5.352 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: 8 (oneFlange.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * 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.0001107/0.1582, allocations: 281.3 kB / 311.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.1583, allocations: 55.19 kB / 311.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.1586, allocations: 359.9 kB / 312.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1586, allocations: 3.562 kB / 312.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1586, allocations: 3.938 kB / 312.1 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1586, allocations: 10.58 kB / 312.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.1593, allocations: 0.7457 MB / 312.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1593, allocations: 0 / 312.8 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1594, allocations: 63.91 kB / 312.9 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.1595, allocations: 24.78 kB / 312.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1595, allocations: 11.98 kB / 312.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000309/0.1598, allocations: 1.149 MB / 314.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1598, allocations: 0 / 314.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1601, allocations: 0.5704 MB / 314.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.1602, allocations: 71.5 kB / 314.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1603, allocations: 12 kB / 314.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1604, allocations: 35.97 kB / 314.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.1605, allocations: 31.94 kB / 314.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1605, allocations: 12 kB / 314.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.1607, allocations: 275.4 kB / 315.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1607, allocations: 0 / 315.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.1612, allocations: 370.8 kB / 315.4 MB, free: 1.297 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,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.001889/0.1631, allocations: 0.9338 MB / 316.4 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.1639, allocations: 1.159 MB / 317.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.1639, allocations: 8 kB / 317.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.1641, allocations: 385.6 kB / 317.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1645, allocations: 126.1 kB / 318 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1663, allocations: 1.321 MB / 319.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.1664, allocations: 170 kB / 319.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.1666, allocations: 80.34 kB / 319.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.1668, allocations: 167.3 kB / 319.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1668, allocations: 0 / 319.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Templates: time 0.01276/0.1796, allocations: 10.09 MB / 329.8 MB, free: 3.246 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.212985300924629]