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.001239/0.001239, allocations: 92.22 kB / 19.65 MB, free: 276 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.001088/0.001088, allocations: 173 kB / 23.02 MB, free: 1.547 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.02689/0.02689, allocations: 6.491 MB / 266.4 MB, free: 6.613 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 2.004e-06/2.004e-06, allocations: 0 / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.144e-05, allocations: 2.312 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.004505/0.004526, allocations: 5.154 MB / 343.2 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.007078, allocations: 2.341 MB / 345.6 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.007491, allocations: 19.94 kB / 345.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.007912, allocations: 194.6 kB / 345.8 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.008562, allocations: 305.9 kB / 346.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.009075, allocations: 375.2 kB / 346.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.009669, allocations: 0.9817 MB / 347.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.009989, allocations: 315.5 kB / 347.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.01043, allocations: 0.5769 MB / 348.3 MB, free: 492 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.01073, allocations: 343 kB / 348.7 MB, free: 148 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.01081, allocations: 108 kB / 348.8 MB, free: 40 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.01106, allocations: 215.8 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.0112, allocations: 219.2 kB / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.0114, allocations: 295.2 kB / 349.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.01215, allocations: 0.7435 MB / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01215, allocations: 0 / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01215, allocations: 0 / 350.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.01217, allocations: 11.94 kB / 350.2 MB, free: 14.57 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.001399/0.01357, allocations: 1.25 MB / 351.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.01361, allocations: 12.03 kB / 351.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.01378, allocations: 156.3 kB / 351.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.01426, allocations: 470 kB / 352.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.01435, allocations: 109.3 kB / 352.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.01442, allocations: 76.33 kB / 352.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.01518, allocations: 0.692 MB / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.0152, allocations: 4 kB / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.01524, allocations: 28 kB / 353 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.01525, allocations: 16 kB / 353 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/0.01567, allocations: 311 kB / 353.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.01777, allocations: 2.339 MB / 355.7 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.01819, allocations: 284.8 kB / 355.9 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.01834, allocations: 151.3 kB / 356.1 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.01836, allocations: 8.219 kB / 356.1 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.01864, allocations: 309 kB / 356.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.01864, allocations: 0 / 356.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006856/0.01933, allocations: 0.5613 MB / 357 MB, free: 7.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.01939, allocations: 174.1 kB / 357.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.01981, allocations: 0.4908 MB / 357.6 MB, free: 6.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.01984, allocations: 41.64 kB / 357.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.02004, allocations: 423.2 kB / 358.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.02011, allocations: 126.9 kB / 358.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.02021, allocations: 103.8 kB / 358.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.02035, allocations: 0.5391 MB / 358.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.02052, allocations: 170.7 kB / 359 MB, free: 5.266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.02075, allocations: 400 kB / 359.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.0211, allocations: 476.7 kB / 359.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02111, allocations: 4 kB / 359.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005676/0.02167, allocations: 0.6024 MB / 360.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.02171, allocations: 93.17 kB / 360.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.02172, allocations: 11.92 kB / 360.6 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.02184, allocations: 23.62 kB / 360.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.02205, allocations: 91.89 kB / 360.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006889/0.02274, allocations: 1.736 MB / 362.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.02293, allocations: 67.64 kB / 362.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.02295, allocations: 23.94 kB / 362.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002351/0.02319, allocations: 300.9 kB / 362.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002272/0.02341, allocations: 388.1 kB / 363.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003417/0.02376, allocations: 467.2 kB / 363.6 MB, free: 24 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.02376, allocations: 7.938 kB / 363.6 MB, free: 16 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005272/0.02429, allocations: 0.5922 MB / 364.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.02432, allocations: 97.09 kB / 364.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.02433, allocations: 4 kB / 364.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.104e-05/0.02439, allocations: 28.12 kB / 364.4 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.02457, allocations: 87.83 kB / 364.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/0.02525, allocations: 1.736 MB / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.02544, allocations: 63.88 kB / 366.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.02547, allocations: 23.98 kB / 366.3 MB, free: 13.2 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.0001666/0.02563, allocations: 359.9 kB / 366.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.0257, allocations: 71.67 kB / 366.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.02615, allocations: 441.9 kB / 367.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02615, allocations: 4 kB / 367.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.02615, allocations: 8 kB / 367.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.02616, allocations: 0 / 367.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008834/0.02704, allocations: 1.02 MB / 368.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02704, allocations: 0 / 368.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.0272, allocations: 59.91 kB / 368.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.178e-05/0.02726, allocations: 23.67 kB / 368.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.02729, allocations: 8 kB / 368.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/0.02806, allocations: 1.732 MB / 370 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.02807, allocations: 4 kB / 370 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.02903, allocations: 0.7294 MB / 370.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.02921, allocations: 91.5 kB / 370.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.02926, allocations: 8 kB / 370.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.02949, allocations: 40.06 kB / 370.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.02959, allocations: 35.94 kB / 370.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.02961, allocations: 12 kB / 370.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.0299, allocations: 326.8 kB / 371.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0299, allocations: 0 / 371.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006805/0.03058, allocations: 334.9 kB / 371.5 MB, free: 7.609 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.000944/0.03152, allocations: 459.5 kB / 372 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.03273, allocations: 1.329 MB / 373.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.03273, allocations: 0 / 373.3 MB, free: 5.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.03303, allocations: 471.8 kB / 373.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.0334, allocations: 99.25 kB / 373.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.03515, allocations: 1.2 MB / 375.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.03524, allocations: 145.7 kB / 375.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.03542, allocations: 59.23 kB / 375.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.0355, allocations: 40.48 kB / 375.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of SimCode: time 1.433e-06/0.0355, allocations: 0 / 375.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of Templates: time 0.01147/0.04697, allocations: 8.217 MB / 383.5 MB, free: 11.56 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.266911685001105]