Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.0008922/0.0008922, allocations: 93.16 kB / 19.65 MB, free: 292 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.001001/0.001001, allocations: 168.9 kB / 23.02 MB, free: 1.562 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 0.9293/0.9293, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.02582/0.02582, allocations: 6.49 MB / 266.4 MB, free: 6.637 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.493e-05, allocations: 2.312 kB / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.003517/0.003532, allocations: 4.431 MB / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.005764, allocations: 2.377 MB / 344.9 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.006057, allocations: 19.88 kB / 344.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.006412, allocations: 162.6 kB / 345.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.0069, allocations: 297.8 kB / 345.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.007347, allocations: 423.3 kB / 345.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000495/0.007842, allocations: 0.9817 MB / 346.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.008162, allocations: 341 kB / 347.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.008593, allocations: 0.5808 MB / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.008867, allocations: 323.1 kB / 348 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.471e-05/0.008942, allocations: 112 kB / 348.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.009064, allocations: 143.9 kB / 348.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.009196, allocations: 243.2 kB / 348.5 MB, free: 364 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.009361, allocations: 315.2 kB / 348.8 MB, free: 48 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.01, allocations: 0.728 MB / 349.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01, allocations: 0 / 349.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01, allocations: 0 / 349.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.01001, allocations: 0 / 349.5 MB, free: 15.31 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001226/0.01124, allocations: 1.276 MB / 350.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01127, allocations: 8.031 kB / 350.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.01143, allocations: 160.3 kB / 350.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.01192, allocations: 0.4902 MB / 351.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.01196, allocations: 58.38 kB / 351.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.01204, allocations: 84.31 kB / 351.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.01278, allocations: 0.6859 MB / 352.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.0128, allocations: 3.938 kB / 352.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.01284, allocations: 28 kB / 352.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.01285, allocations: 20 kB / 352.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.01328, allocations: 319.2 kB / 352.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.01569, allocations: 2.374 MB / 355 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.01621, allocations: 282.6 kB / 355.3 MB, free: 9.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.01641, allocations: 144.2 kB / 355.4 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.01645, allocations: 11.94 kB / 355.4 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.01674, allocations: 301.4 kB / 355.7 MB, free: 8.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.333e-06/0.01675, allocations: 4 kB / 355.7 MB, free: 8.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007278/0.01747, allocations: 0.5553 MB / 356.3 MB, free: 8.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.01754, allocations: 140.5 kB / 356.4 MB, free: 7.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.01795, allocations: 0.5103 MB / 356.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.01798, allocations: 41.69 kB / 357 MB, free: 7.414 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.01819, allocations: 451 kB / 357.4 MB, free: 6.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.01826, allocations: 123 kB / 357.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01837, allocations: 103.8 kB / 357.6 MB, free: 6.738 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01852, allocations: 0.5469 MB / 358.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.0187, allocations: 174.7 kB / 358.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.01893, allocations: 362.6 kB / 358.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.01931, allocations: 472.7 kB / 359.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01931, allocations: 4 kB / 359.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005727/0.01989, allocations: 0.5943 MB / 359.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.01993, allocations: 85.11 kB / 359.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01994, allocations: 4 kB / 359.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.02006, allocations: 27.67 kB / 359.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.02028, allocations: 91.83 kB / 360 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007586/0.02104, allocations: 1.748 MB / 361.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.02127, allocations: 59.72 kB / 361.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.0213, allocations: 20 kB / 361.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002508/0.02155, allocations: 300.9 kB / 362.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002153/0.02177, allocations: 350.8 kB / 362.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003519/0.02212, allocations: 474.8 kB / 362.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.02212, allocations: 0 / 362.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005285/0.02265, allocations: 0.5849 MB / 363.5 MB, free: 224 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.02269, allocations: 89.09 kB / 363.6 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.02269, allocations: 4 kB / 363.6 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.829e-05/0.02275, allocations: 27.67 kB / 363.6 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.02294, allocations: 95.83 kB / 363.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006463/0.02359, allocations: 1.744 MB / 365.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.02375, allocations: 59.81 kB / 365.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.02378, allocations: 20 kB / 365.5 MB, free: 14.04 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0001455/0.02392, allocations: 359.2 kB / 365.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.02399, allocations: 79.61 kB / 365.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.02443, allocations: 429 kB / 366.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02443, allocations: 4 kB / 366.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.02444, allocations: 3.938 kB / 366.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.02444, allocations: 0 / 366.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.02535, allocations: 1.02 MB / 367.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.02535, allocations: 3.938 kB / 367.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.0255, allocations: 51.97 kB / 367.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.084e-05/0.02555, allocations: 23.61 kB / 367.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.02557, allocations: 16 kB / 367.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/0.02618, allocations: 1.732 MB / 369.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.02618, allocations: 0 / 369.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.02678, allocations: 0.7133 MB / 369.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.02683, allocations: 63.53 kB / 370 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.02686, allocations: 12.12 kB / 370 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.02701, allocations: 31.97 kB / 370 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.02709, allocations: 43.88 kB / 370.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.0271, allocations: 8 kB / 370.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.02734, allocations: 338.8 kB / 370.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02734, allocations: 0 / 370.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.02784, allocations: 334.8 kB / 370.7 MB, free: 8.492 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.0006673/0.02851, allocations: 347.1 kB / 371.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009644/0.02947, allocations: 1.314 MB / 372.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02948, allocations: 0 / 372.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.02975, allocations: 463.6 kB / 372.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.03011, allocations: 101.6 kB / 372.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.03162, allocations: 1.258 MB / 374.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.03171, allocations: 157.6 kB / 374.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.03186, allocations: 59.36 kB / 374.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.03194, allocations: 36.5 kB / 374.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of SimCode: time 1.653e-06/0.03194, allocations: 4 kB / 374.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of Templates: time 0.009769/0.04171, allocations: 7.573 MB / 382 MB, free: 13.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.946445209905505]