Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001238/0.001238, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001339/0.001339, allocations: 173 kB / 23.49 MB, free: 1.059 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.05539/0.05539, allocations: 6.49 MB / 266.8 MB, free: 6.691 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.021e-05, allocations: 5.125 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.004581/0.004601, allocations: 5.139 MB / 343.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.007251, allocations: 2.329 MB / 345.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.007606, allocations: 15.94 kB / 345.6 MB, free: 3.598 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.008015, allocations: 214.4 kB / 345.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.008625, allocations: 345.7 kB / 346.1 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.00926, allocations: 0.5107 MB / 346.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.009878, allocations: 1.075 MB / 347.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.01022, allocations: 328.5 kB / 348 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.01069, allocations: 0.6081 MB / 348.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.01099, allocations: 374.9 kB / 349 MB, free: 136 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.01107, allocations: 116 kB / 349.1 MB, free: 20 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.01134, allocations: 251.7 kB / 349.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.01153, allocations: 267.1 kB / 349.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.01177, allocations: 331.2 kB / 350 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007754/0.01254, allocations: 0.8642 MB / 350.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01254, allocations: 0 / 350.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01254, allocations: 0 / 350.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.01255, allocations: 0 / 350.8 MB, free: 14.32 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001389/0.01394, allocations: 1.406 MB / 352.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.01397, allocations: 8.031 kB / 352.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.01416, allocations: 164.3 kB / 352.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006004/0.01476, allocations: 0.5546 MB / 352.9 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.01487, allocations: 106 kB / 353 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.01496, allocations: 88.31 kB / 353.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008226/0.01578, allocations: 0.7334 MB / 353.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.0158, allocations: 4 kB / 353.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.01585, allocations: 32 kB / 353.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.01587, allocations: 19.94 kB / 353.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.01633, allocations: 312.4 kB / 354.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.01863, allocations: 2.438 MB / 356.7 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.01914, allocations: 302.3 kB / 357 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.0193, allocations: 143.3 kB / 357.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.01935, allocations: 4.281 kB / 357.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.01968, allocations: 313 kB / 357.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.364e-06/0.01969, allocations: 0 / 357.4 MB, free: 7.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008003/0.02049, allocations: 0.5612 MB / 358 MB, free: 6.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.02056, allocations: 191.9 kB / 358.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.02113, allocations: 0.6479 MB / 358.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.02116, allocations: 37.7 kB / 358.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.02141, allocations: 483 kB / 359.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.02148, allocations: 134.9 kB / 359.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.0216, allocations: 112 kB / 359.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.02177, allocations: 0.5508 MB / 360.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.02195, allocations: 183.3 kB / 360.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.02223, allocations: 431.5 kB / 360.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.02263, allocations: 495.5 kB / 361.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.02263, allocations: 0 / 361.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006215/0.02325, allocations: 0.6357 MB / 361.8 MB, free: 2.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.0233, allocations: 97.12 kB / 361.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.02331, allocations: 4 kB / 361.9 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.02344, allocations: 23.67 kB / 362 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.02366, allocations: 107.8 kB / 362.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008431/0.02451, allocations: 1.732 MB / 363.8 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.02471, allocations: 67.61 kB / 363.9 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.02474, allocations: 23.98 kB / 363.9 MB, free: 332 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002858/0.02502, allocations: 313.2 kB / 364.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002646/0.02529, allocations: 435.4 kB / 364.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003615/0.02565, allocations: 479.6 kB / 365.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.02565, allocations: 0 / 365.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.000591/0.02624, allocations: 0.6276 MB / 365.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.02628, allocations: 96.06 kB / 365.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.02628, allocations: 4 kB / 365.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.436e-05/0.02635, allocations: 28.11 kB / 365.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.02654, allocations: 103.8 kB / 365.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006603/0.0272, allocations: 1.747 MB / 367.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.02739, allocations: 59.89 kB / 367.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.02742, allocations: 23.98 kB / 367.8 MB, free: 12.02 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 (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.0001607/0.02758, allocations: 365.5 kB / 368.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.02766, allocations: 95.45 kB / 368.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.02813, allocations: 435.2 kB / 368.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.02814, allocations: 4 kB / 368.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.02814, allocations: 3.984 kB / 368.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02815, allocations: 0 / 368.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.02916, allocations: 1.094 MB / 369.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.02916, allocations: 4 kB / 369.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.02933, allocations: 63.89 kB / 369.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.368e-05/0.02938, allocations: 15.69 kB / 369.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.0294, allocations: 15.98 kB / 369.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006525/0.03006, allocations: 1.728 MB / 371.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.03006, allocations: 3.984 kB / 371.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.03069, allocations: 0.737 MB / 372.3 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.03082, allocations: 111.5 kB / 372.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.03087, allocations: 12 kB / 372.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.03104, allocations: 32.11 kB / 372.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.03112, allocations: 43.92 kB / 372.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.03114, allocations: 12 kB / 372.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003379/0.03148, allocations: 423 kB / 372.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03148, allocations: 0 / 372.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.03204, allocations: 366.8 kB / 373.3 MB, free: 6.18 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.001414/0.03345, allocations: 0.6859 MB / 374 MB, free: 5.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.03451, allocations: 1.344 MB / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.03451, allocations: 4.125 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.03481, allocations: 467.6 kB / 375.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.0352, allocations: 119.7 kB / 375.9 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.03785, allocations: 1.348 MB / 377.2 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.03801, allocations: 162 kB / 377.4 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.03828, allocations: 76.36 kB / 377.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.03839, allocations: 56.42 kB / 377.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of SimCode: time 2.345e-06/0.03839, allocations: 0 / 377.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of Templates: time 0.01306/0.05146, allocations: 9.536 MB / 387.1 MB, free: 8.461 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3218482558149844]