Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001201/0.001201, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001108/0.001108, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.02851/0.02851, allocations: 6.489 MB / 267.5 MB, free: 6.441 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 0 / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.917e-05, allocations: 5.125 kB / 339.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.00734/0.007369, allocations: 5.042 MB / 344.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00394/0.01131, allocations: 2.317 MB / 346.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006105/0.01192, allocations: 19.88 kB / 346.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.01243, allocations: 202.5 kB / 346.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008011/0.01323, allocations: 297.9 kB / 347.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.01395, allocations: 383.2 kB / 347.6 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.01493, allocations: 0.9778 MB / 348.5 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.0154, allocations: 319.5 kB / 348.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.01613, allocations: 0.5692 MB / 349.4 MB, free: 348 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.01662, allocations: 351 kB / 349.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.01678, allocations: 108 kB / 349.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.01712, allocations: 203.8 kB / 350.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.01731, allocations: 227.2 kB / 350.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.01762, allocations: 295.2 kB / 350.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01867, allocations: 0.7474 MB / 351.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01867, allocations: 0 / 351.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01867, allocations: 0 / 351.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.01868, allocations: 0 / 351.3 MB, free: 14.43 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.001854/0.02054, allocations: 1.262 MB / 352.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.02058, allocations: 8.031 kB / 352.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.02083, allocations: 152.3 kB / 352.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.02154, allocations: 478 kB / 353.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.02165, allocations: 105.3 kB / 353.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.02176, allocations: 80.31 kB / 353.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.02276, allocations: 0.649 MB / 354 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.02278, allocations: 4 kB / 354 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.02283, allocations: 28 kB / 354.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.02284, allocations: 16 kB / 354.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.02317, allocations: 264.3 kB / 354.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.02534, allocations: 2.238 MB / 356.6 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.02572, allocations: 274.7 kB / 356.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.02583, allocations: 131.3 kB / 357 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.02586, allocations: 12.27 kB / 357 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.02611, allocations: 297 kB / 357.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.02612, allocations: 0 / 357.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006161/0.02673, allocations: 0.5221 MB / 357.8 MB, free: 7.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.02679, allocations: 166.2 kB / 358 MB, free: 7.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.02712, allocations: 494.3 kB / 358.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.02715, allocations: 33.7 kB / 358.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.02736, allocations: 439.1 kB / 358.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.02743, allocations: 134.9 kB / 359 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.02754, allocations: 103.8 kB / 359.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.02769, allocations: 0.539 MB / 359.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.02781, allocations: 158.7 kB / 359.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.02802, allocations: 380 kB / 360.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.02832, allocations: 448.7 kB / 360.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02832, allocations: 0 / 360.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004938/0.02881, allocations: 0.5707 MB / 361.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.02886, allocations: 89.11 kB / 361.3 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02887, allocations: 7.984 kB / 361.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001161/0.02899, allocations: 28.06 kB / 361.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.02921, allocations: 99.83 kB / 361.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007538/0.02996, allocations: 1.717 MB / 363.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.0302, allocations: 67.64 kB / 363.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.03023, allocations: 16 kB / 363.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002074/0.03044, allocations: 289 kB / 363.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001907/0.03063, allocations: 376 kB / 363.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003541/0.03098, allocations: 439.1 kB / 364.3 MB, free: 336 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.03098, allocations: 0 / 364.3 MB, free: 336 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004766/0.03146, allocations: 0.5534 MB / 364.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.0315, allocations: 97.09 kB / 365 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.0315, allocations: 4 kB / 365 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.223e-05/0.03157, allocations: 31.61 kB / 365 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.03175, allocations: 87.89 kB / 365.1 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/0.03254, allocations: 1.717 MB / 366.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.03274, allocations: 59.64 kB / 366.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.03277, allocations: 23.98 kB / 366.9 MB, free: 13.57 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.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 (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.0001699/0.03294, allocations: 351.4 kB / 367.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.03301, allocations: 71.77 kB / 367.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004138/0.03342, allocations: 413.9 kB / 367.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.03342, allocations: 7.938 kB / 367.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.03343, allocations: 3.938 kB / 367.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.03343, allocations: 7.984 kB / 367.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.03447, allocations: 0.8954 MB / 368.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.03447, allocations: 3.938 kB / 368.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.03464, allocations: 59.91 kB / 368.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.929e-05/0.0347, allocations: 23.67 kB / 368.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.03472, allocations: 8 kB / 368.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009567/0.03568, allocations: 1.713 MB / 370.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.03568, allocations: 0 / 370.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.03624, allocations: 0.6904 MB / 371.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.03636, allocations: 91.56 kB / 371.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.0364, allocations: 8 kB / 371.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.03657, allocations: 35.91 kB / 371.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.03664, allocations: 43.88 kB / 371.3 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.03666, allocations: 4 kB / 371.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.03686, allocations: 318.7 kB / 371.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03686, allocations: 0 / 371.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006793/0.03754, allocations: 334.9 kB / 371.9 MB, free: 8.227 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.000962/0.0385, allocations: 467.2 kB / 372.4 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.03943, allocations: 1.278 MB / 373.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.03943, allocations: 0 / 373.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.0397, allocations: 455.5 kB / 374.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.04007, allocations: 100.6 kB / 374.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.04167, allocations: 1.173 MB / 375.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.04177, allocations: 141.8 kB / 375.5 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.04193, allocations: 63.22 kB / 375.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.04217, allocations: 178.1 kB / 375.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04217, allocations: 0 / 375.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of Templates: time 0.01193/0.0541, allocations: 8.63 MB / 384.4 MB, free: 11.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2249773889780045]