Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.0007197/0.0007197, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008138/0.0008138, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8567/0.8567, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.02557/0.02557, allocations: 6.485 MB / 266.4 MB, free: 6.828 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.01e-05, allocations: 8.812 kB / 392.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.004004/0.004024, allocations: 4.116 MB / 397 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.006812, allocations: 2.318 MB / 399.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.007199, allocations: 23.88 kB / 399.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.007548, allocations: 166.6 kB / 399.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.008183, allocations: 289.8 kB / 399.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008679/0.009051, allocations: 430.6 kB / 400.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008944/0.009946, allocations: 0.9894 MB / 401.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.01037, allocations: 341.1 kB / 401.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.01086, allocations: 0.5847 MB / 402.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.01114, allocations: 307 kB / 402.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/0.01122, allocations: 116 kB / 402.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.01141, allocations: 203.8 kB / 402.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.01157, allocations: 247.2 kB / 403 MB, free: 11.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.01176, allocations: 323.2 kB / 403.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009037/0.01267, allocations: 1.328 MB / 404.6 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01267, allocations: 0 / 404.6 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01267, allocations: 0 / 404.6 MB, free: 9.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.01268, allocations: 0 / 404.6 MB, free: 9.41 MB / 378.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.001261/0.01394, allocations: 1.196 MB / 405.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.01397, allocations: 15.97 kB / 405.8 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.01408, allocations: 104.3 kB / 405.9 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.01463, allocations: 0.5186 MB / 406.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.01467, allocations: 58.38 kB / 406.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.01475, allocations: 80.33 kB / 406.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.01564, allocations: 0.8825 MB / 407.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.01566, allocations: 3.938 kB / 407.5 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.01571, allocations: 28 kB / 407.5 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01572, allocations: 16 kB / 407.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.01645, allocations: 0.5928 MB / 408.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.01894, allocations: 2.315 MB / 410.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.01955, allocations: 425.3 kB / 410.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.01979, allocations: 236.4 kB / 411.1 MB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.01982, allocations: 7.938 kB / 411.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.0202, allocations: 378.9 kB / 411.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.0202, allocations: 0 / 411.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001012/0.02121, allocations: 0.7751 MB / 412.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.02128, allocations: 170.2 kB / 412.4 MB, free: 1.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.02174, allocations: 0.6112 MB / 413 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.02177, allocations: 37.7 kB / 413.1 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.02196, allocations: 404.2 kB / 413.4 MB, free: 184 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/0.02202, allocations: 119 kB / 413.6 MB, free: 64 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.02214, allocations: 98.2 kB / 413.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.02225, allocations: 366.7 kB / 414 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.02254, allocations: 267.9 kB / 414.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.02289, allocations: 466.7 kB / 414.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.02378, allocations: 0.5881 MB / 415.3 MB, free: 14.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02379, allocations: 4 kB / 415.3 MB, free: 14.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007761/0.02456, allocations: 0.7595 MB / 416.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.0246, allocations: 93.09 kB / 416.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.02461, allocations: 4 kB / 416.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.02472, allocations: 24.84 kB / 416.2 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.02492, allocations: 103.8 kB / 416.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006267/0.02555, allocations: 1.264 MB / 417.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.02575, allocations: 75.69 kB / 417.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.02578, allocations: 20 kB / 417.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004105/0.02619, allocations: 454.2 kB / 418.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000314/0.0265, allocations: 439.9 kB / 418.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005148/0.02702, allocations: 0.567 MB / 419.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.02702, allocations: 0 / 419.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006886/0.02771, allocations: 0.7337 MB / 419.8 MB, free: 9.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.02774, allocations: 97.47 kB / 419.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.02775, allocations: 11.94 kB / 419.9 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.458e-05/0.0278, allocations: 28.84 kB / 420 MB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.02798, allocations: 91.83 kB / 420.1 MB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005318/0.02851, allocations: 1.256 MB / 421.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.0287, allocations: 75.89 kB / 421.4 MB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.02873, allocations: 23.98 kB / 421.4 MB, free: 7.488 MB / 394.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.0001515/0.02888, allocations: 275.4 kB / 421.7 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.02893, allocations: 55.62 kB / 421.7 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/0.02986, allocations: 0.5882 MB / 422.3 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.02986, allocations: 4 kB / 422.3 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02986, allocations: 3.938 kB / 422.3 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.02987, allocations: 3.938 kB / 422.3 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.03094, allocations: 1.139 MB / 423.5 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.03094, allocations: 7.938 kB / 423.5 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.0311, allocations: 63.89 kB / 423.5 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.283e-05/0.03115, allocations: 24.84 kB / 423.6 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.03117, allocations: 8 kB / 423.6 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005316/0.0317, allocations: 1.26 MB / 424.8 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0317, allocations: 0 / 424.8 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.03262, allocations: 0.9484 MB / 425.8 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.03268, allocations: 63.64 kB / 425.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.03271, allocations: 8 kB / 425.9 MB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.03289, allocations: 47.95 kB / 425.9 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.03297, allocations: 39.95 kB / 425.9 MB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.03298, allocations: 12 kB / 426 MB, free: 2.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003244/0.03331, allocations: 438.8 kB / 426.4 MB, free: 2.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03331, allocations: 4 kB / 426.4 MB, free: 2.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005426/0.03385, allocations: 362.7 kB / 426.7 MB, free: 1.875 MB / 394.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.0007572/0.03461, allocations: 495.7 kB / 427.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.03587, allocations: 1.431 MB / 428.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03587, allocations: 3.938 kB / 428.7 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.03624, allocations: 481.5 kB / 429.1 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.03713, allocations: 95.23 kB / 429.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.03856, allocations: 1.384 MB / 430.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.03879, allocations: 342 kB / 430.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.03888, allocations: 48.48 kB / 431 MB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03888, allocations: 0 / 431 MB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.00983/0.04871, allocations: 12.56 MB / 443.5 MB, free: 0.9844 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.209067827090621] Failed to read output from testmodel.py, exit status != 0: 0.2141718603670597 0.22449052599999994 0.20973503599999996 Calling exit ...