Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.002388/0.002388, allocations: 81.5 kB / 19.44 MB, free: 344 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.002842/0.002842, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.05111/0.05111, allocations: 6.49 MB / 266 MB, free: 6.648 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.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.104e-05, allocations: 8.703 kB / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005627/0.005658, allocations: 5.081 MB / 342.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.008149, allocations: 1.596 MB / 344 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.008542, allocations: 19.88 kB / 344.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.008982, allocations: 202.5 kB / 344.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000622/0.009604, allocations: 301.9 kB / 344.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.01017, allocations: 371.3 kB / 344.9 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.01082, allocations: 0.9778 MB / 345.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.0112, allocations: 315.5 kB / 346.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.01174, allocations: 0.573 MB / 346.8 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.01207, allocations: 339 kB / 347.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.01217, allocations: 104 kB / 347.2 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.01237, allocations: 147.9 kB / 347.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.01251, allocations: 215.2 kB / 347.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.01271, allocations: 295.2 kB / 347.8 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.01391, allocations: 1.149 MB / 349 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.01391, allocations: 0 / 349 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01391, allocations: 4 kB / 349 MB, free: 15.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.01393, allocations: 0 / 349 MB, free: 15.41 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002361/0.01629, allocations: 1.308 MB / 350.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.01633, allocations: 8.031 kB / 350.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.01661, allocations: 152.3 kB / 350.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008106/0.01742, allocations: 478 kB / 350.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.01757, allocations: 113.3 kB / 351 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.01769, allocations: 80.33 kB / 351.1 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.01923, allocations: 0.8502 MB / 352 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.01926, allocations: 0 / 352 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.01933, allocations: 32 kB / 352 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.01935, allocations: 16 kB / 352 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.02061, allocations: 0.5394 MB / 352.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.02543, allocations: 2.803 MB / 355.4 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.02647, allocations: 430.7 kB / 355.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.02693, allocations: 227.3 kB / 356 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.02697, allocations: 8.219 kB / 356 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007505/0.02772, allocations: 409 kB / 356.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/0.02773, allocations: 7.938 kB / 356.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001774/0.0295, allocations: 0.7565 MB / 357.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.02962, allocations: 144.4 kB / 357.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008645/0.03048, allocations: 0.6392 MB / 358 MB, free: 6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.03054, allocations: 33.7 kB / 358 MB, free: 5.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.03095, allocations: 459.2 kB / 358.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.03111, allocations: 139 kB / 358.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.03132, allocations: 123.8 kB / 358.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003659/0.03169, allocations: 0.5859 MB / 359.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.03217, allocations: 254.7 kB / 359.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.03283, allocations: 458.7 kB / 360 MB, free: 3.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.0339, allocations: 0.6413 MB / 360.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.0339, allocations: 0 / 360.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00146/0.03536, allocations: 0.7548 MB / 361.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.301e-05/0.03546, allocations: 97.09 kB / 361.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.03547, allocations: 11.92 kB / 361.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.03567, allocations: 31.67 kB / 361.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.03607, allocations: 91.83 kB / 361.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.03775, allocations: 1.779 MB / 363.4 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.0382, allocations: 67.64 kB / 363.4 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.03824, allocations: 20 kB / 363.5 MB, free: 52 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000762/0.039, allocations: 444.9 kB / 363.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006249/0.03963, allocations: 454.6 kB / 364.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001/0.04063, allocations: 0.6242 MB / 365 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.269e-06/0.04063, allocations: 3.938 kB / 365 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001401/0.04203, allocations: 0.7294 MB / 365.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.012e-05/0.04212, allocations: 101.8 kB / 365.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.04213, allocations: 4 kB / 365.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.04226, allocations: 31.61 kB / 365.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.04264, allocations: 91.89 kB / 365.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.04422, allocations: 1.783 MB / 367.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.04463, allocations: 63.75 kB / 367.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.04468, allocations: 27.92 kB / 367.8 MB, free: 11.32 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: 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.0003573/0.04504, allocations: 353.7 kB / 368.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.04517, allocations: 71.61 kB / 368.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.04641, allocations: 0.5836 MB / 368.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.04642, allocations: 0 / 368.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.04642, allocations: 4 kB / 368.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.04643, allocations: 3.984 kB / 368.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.04881, allocations: 1.302 MB / 370.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.04881, allocations: 0 / 370.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.04913, allocations: 63.89 kB / 370.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.04924, allocations: 23.69 kB / 370.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.04927, allocations: 11.98 kB / 370.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.0507, allocations: 1.779 MB / 372 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0507, allocations: 0 / 372 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.05243, allocations: 0.9951 MB / 373 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.05263, allocations: 91.5 kB / 373.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.0527, allocations: 8 kB / 373.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.05302, allocations: 35.97 kB / 373.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.05315, allocations: 39.88 kB / 373.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.05319, allocations: 12 kB / 373.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005211/0.05371, allocations: 402.8 kB / 373.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05371, allocations: 0 / 373.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001012/0.05472, allocations: 310.9 kB / 373.9 MB, free: 4.945 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,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.002501/0.05722, allocations: 395.6 kB / 374.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.05976, allocations: 1.607 MB / 375.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.05977, allocations: 4 kB / 375.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.06072, allocations: 0.5464 MB / 376.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.06135, allocations: 95.14 kB / 376.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.06398, allocations: 1.263 MB / 377.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.06435, allocations: 317.4 kB / 378.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.06463, allocations: 63.22 kB / 378.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.06475, allocations: 40.5 kB / 378.2 MB, free: 492 kB / 298.7 MB Notification: Performance of SimCode: time 1.173e-06/0.06475, allocations: 0 / 378.2 MB, free: 492 kB / 298.7 MB Notification: Performance of Templates: time 0.01647/0.08122, allocations: 7.112 MB / 385.3 MB, free: 9.445 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.838453221018426]