Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.000921/0.000921, 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.001442/0.001442, 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.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.02721/0.02721, allocations: 6.487 MB / 266.8 MB, free: 6.707 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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.125e-05, allocations: 2.312 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.005186/0.005208, allocations: 5.128 MB / 343.2 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.007332, allocations: 1.612 MB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.007698, allocations: 23.88 kB / 344.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.008085, allocations: 206.5 kB / 345 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.008638, allocations: 285.9 kB / 345.3 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.009175, allocations: 387.2 kB / 345.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000659/0.009834, allocations: 0.9819 MB / 346.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.01025, allocations: 356.3 kB / 347 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.01074, allocations: 0.5691 MB / 347.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.01105, allocations: 347 kB / 347.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.01114, allocations: 104 kB / 348 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.0113, allocations: 151.9 kB / 348.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.01142, allocations: 223.2 kB / 348.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.01161, allocations: 291.3 kB / 348.7 MB, free: 452 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007057/0.01231, allocations: 0.689 MB / 349.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01231, allocations: 0 / 349.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01232, allocations: 0 / 349.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01232, allocations: 0 / 349.4 MB, free: 15.75 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001478/0.0138, allocations: 1.241 MB / 350.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.01384, allocations: 8.031 kB / 350.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.01404, allocations: 152.4 kB / 350.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.01463, allocations: 482 kB / 351.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.01482, allocations: 114 kB / 351.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.01492, allocations: 68.38 kB / 351.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.01585, allocations: 0.6734 MB / 352.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.01587, allocations: 3.984 kB / 352.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.01593, allocations: 32 kB / 352.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.01595, allocations: 16 kB / 352.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.01659, allocations: 319.1 kB / 352.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.01936, allocations: 2.362 MB / 354.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.0199, allocations: 290.8 kB / 355.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.02008, allocations: 143.3 kB / 355.3 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.02012, allocations: 8.281 kB / 355.3 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/0.02046, allocations: 309 kB / 355.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.475e-06/0.02047, allocations: 0 / 355.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008626/0.02133, allocations: 0.5611 MB / 356.1 MB, free: 8.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.02139, allocations: 140.5 kB / 356.3 MB, free: 8.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.02185, allocations: 498.6 kB / 356.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.02189, allocations: 41.69 kB / 356.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.02214, allocations: 431.1 kB / 357.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/0.02223, allocations: 130.9 kB / 357.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.02236, allocations: 95.84 kB / 357.4 MB, free: 7.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004127/0.02277, allocations: 0.5391 MB / 358 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.02298, allocations: 178.7 kB / 358.1 MB, free: 6.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.02327, allocations: 358.7 kB / 358.5 MB, free: 6.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.02373, allocations: 476.7 kB / 359 MB, free: 5.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.02373, allocations: 0 / 359 MB, free: 5.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007298/0.02446, allocations: 0.5982 MB / 359.6 MB, free: 4.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.02451, allocations: 97.09 kB / 359.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02452, allocations: 4 kB / 359.7 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.02466, allocations: 27.67 kB / 359.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.02494, allocations: 95.83 kB / 359.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008779/0.02582, allocations: 1.736 MB / 361.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.02601, allocations: 67.64 kB / 361.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.02604, allocations: 23.98 kB / 361.6 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002385/0.02628, allocations: 300.9 kB / 361.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002248/0.02651, allocations: 350.7 kB / 362.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003616/0.02687, allocations: 475.2 kB / 362.7 MB, free: 1.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.655e-06/0.02687, allocations: 4 kB / 362.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00054/0.02741, allocations: 0.5849 MB / 363.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.02745, allocations: 97.12 kB / 363.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.02745, allocations: 4 kB / 363.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.928e-05/0.02752, allocations: 27.67 kB / 363.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.02772, allocations: 95.83 kB / 363.5 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.02877, allocations: 1.732 MB / 365.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.02896, allocations: 59.8 kB / 365.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.02899, allocations: 20 kB / 365.3 MB, free: 14.53 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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.0001782/0.02916, allocations: 360.3 kB / 365.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.02923, allocations: 71.61 kB / 365.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.02974, allocations: 434 kB / 366.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.02974, allocations: 8 kB / 366.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02975, allocations: 7.938 kB / 366.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02975, allocations: 0 / 366.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009791/0.03073, allocations: 1.004 MB / 367.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03074, allocations: 0 / 367.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.0309, allocations: 51.97 kB / 367.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.574e-05/0.03097, allocations: 23.61 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.03099, allocations: 16 kB / 367.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007316/0.03173, allocations: 1.732 MB / 369 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.03173, allocations: 0 / 369 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.03239, allocations: 0.7216 MB / 369.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.03251, allocations: 95.5 kB / 369.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.03255, allocations: 12.12 kB / 369.8 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.03271, allocations: 31.98 kB / 369.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.0328, allocations: 31.94 kB / 369.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.03282, allocations: 15.98 kB / 369.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.03305, allocations: 326.7 kB / 370.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03305, allocations: 0 / 370.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.03366, allocations: 315 kB / 370.5 MB, free: 8.996 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.0008078/0.03446, allocations: 347.2 kB / 370.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.03585, allocations: 1.329 MB / 372.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.03585, allocations: 4 kB / 372.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.03614, allocations: 463.6 kB / 372.7 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.03649, allocations: 96.47 kB / 372.8 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.03833, allocations: 1.212 MB / 374 MB, free: 5.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.03844, allocations: 141.7 kB / 374.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000222/0.03866, allocations: 71.2 kB / 374.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.03875, allocations: 32.5 kB / 374.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of SimCode: time 4.027e-06/0.03876, allocations: 0 / 374.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of Templates: time 0.01169/0.05045, allocations: 7.149 MB / 381.4 MB, free: 14.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.154429434100166]