Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001018/0.001018, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001049/0.001049, allocations: 169 kB / 23.27 MB, free: 1.223 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.001/1.001, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.02638/0.02638, allocations: 6.473 MB / 266.7 MB, free: 6.477 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 338.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.224e-05, allocations: 2.312 kB / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.005214/0.005237, allocations: 4.321 MB / 342.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.009683, allocations: 2.372 MB / 345.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.01049, allocations: 15.94 kB / 345.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.01109, allocations: 166.6 kB / 345.4 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009478/0.01204, allocations: 289.9 kB / 345.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.01283, allocations: 419.3 kB / 346.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.01389, allocations: 0.9814 MB / 347 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.01438, allocations: 349 kB / 347.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007995/0.01518, allocations: 0.5692 MB / 348 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004739/0.01565, allocations: 331 kB / 348.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.01578, allocations: 108 kB / 348.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.01599, allocations: 143.9 kB / 348.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.0162, allocations: 251.2 kB / 348.8 MB, free: 1.258 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.01648, allocations: 311.2 kB / 349.1 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009428/0.01743, allocations: 0.7124 MB / 349.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.01743, allocations: 0 / 349.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01743, allocations: 4 kB / 349.8 MB, free: 240 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.01745, allocations: 0 / 349.8 MB, free: 240 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001664/0.01911, allocations: 1.28 MB / 351.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.01915, allocations: 12.03 kB / 351.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.01934, allocations: 164.3 kB / 351.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.01993, allocations: 482 kB / 351.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.01998, allocations: 58.38 kB / 351.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.02008, allocations: 80.33 kB / 351.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.02086, allocations: 0.635 MB / 352.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.02089, allocations: 3.938 kB / 352.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.02093, allocations: 28 kB / 352.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.02095, allocations: 16 kB / 352.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.02131, allocations: 265.1 kB / 352.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.02398, allocations: 2.257 MB / 355 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.0244, allocations: 262.7 kB / 355.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.02453, allocations: 128.2 kB / 355.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.02457, allocations: 11.98 kB / 355.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.02487, allocations: 289.2 kB / 355.7 MB, free: 9.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.02487, allocations: 4 kB / 355.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007269/0.0256, allocations: 0.524 MB / 356.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.02566, allocations: 136.5 kB / 356.4 MB, free: 9.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.02612, allocations: 0.4984 MB / 356.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.02615, allocations: 33.7 kB / 356.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.02644, allocations: 466.9 kB / 357.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.02653, allocations: 130.9 kB / 357.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.02666, allocations: 99.8 kB / 357.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.02683, allocations: 0.5468 MB / 358.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.02698, allocations: 162.7 kB / 358.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.02721, allocations: 342.6 kB / 358.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.02758, allocations: 440.9 kB / 359.1 MB, free: 6.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.02759, allocations: 0 / 359.1 MB, free: 6.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006139/0.0282, allocations: 0.571 MB / 359.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.02826, allocations: 89.11 kB / 359.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.02827, allocations: 4 kB / 359.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.02839, allocations: 23.67 kB / 359.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.02864, allocations: 95.83 kB / 359.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008914/0.02953, allocations: 1.717 MB / 361.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.02978, allocations: 67.64 kB / 361.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.02981, allocations: 20 kB / 361.6 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002438/0.03005, allocations: 288.9 kB / 361.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002316/0.03028, allocations: 334.7 kB / 362.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003568/0.03064, allocations: 454.9 kB / 362.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.03064, allocations: 0 / 362.7 MB, free: 2.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005581/0.0312, allocations: 0.5377 MB / 363.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.03125, allocations: 96.34 kB / 363.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.03125, allocations: 8 kB / 363.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.034e-05/0.03132, allocations: 23.67 kB / 363.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.03155, allocations: 99.77 kB / 363.5 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008123/0.03236, allocations: 1.717 MB / 365.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.03259, allocations: 63.84 kB / 365.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.03262, allocations: 19.98 kB / 365.3 MB, free: 15.51 MB / 346.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 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * 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.0001837/0.0328, allocations: 358.1 kB / 365.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.03288, allocations: 71.61 kB / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.03335, allocations: 400.9 kB / 366.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.03335, allocations: 4 kB / 366.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.03336, allocations: 7.984 kB / 366.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.03336, allocations: 0 / 366.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.03438, allocations: 0.9034 MB / 367 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.03439, allocations: 0 / 367 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.03457, allocations: 51.97 kB / 367 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.155e-05/0.03464, allocations: 19.67 kB / 367.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.03467, allocations: 15.94 kB / 367.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007617/0.03543, allocations: 1.721 MB / 368.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03543, allocations: 0 / 368.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.03608, allocations: 0.6781 MB / 369.5 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.03615, allocations: 51.61 kB / 369.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.0362, allocations: 12 kB / 369.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.03638, allocations: 32.14 kB / 369.6 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.03647, allocations: 39.92 kB / 369.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.03649, allocations: 8 kB / 369.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.03674, allocations: 318.7 kB / 369.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03674, allocations: 0 / 369.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007907/0.03753, allocations: 330.8 kB / 370.2 MB, free: 10.23 MB / 346.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.0008284/0.03836, allocations: 346.9 kB / 370.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.03947, allocations: 1.274 MB / 371.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.03948, allocations: 0 / 371.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.03978, allocations: 447.6 kB / 372.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.04022, allocations: 92.89 kB / 372.4 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.04223, allocations: 1.242 MB / 373.6 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.04236, allocations: 153.7 kB / 373.8 MB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.04256, allocations: 63.36 kB / 373.8 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.04282, allocations: 174.2 kB / 374 MB, free: 6.281 MB / 346.7 MB Notification: Performance of SimCode: time 8.91e-07/0.04282, allocations: 0 / 374 MB, free: 6.281 MB / 346.7 MB Notification: Performance of Templates: time 0.01395/0.05678, allocations: 8.078 MB / 382.1 MB, free: 14.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9714945070445538]