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.001459/0.001459, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001467/0.001467, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.648/1.648, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.04105/0.04105, allocations: 6.501 MB / 265.7 MB, free: 10.26 MB / 254.1 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 5.3e-06/5.3e-06, allocations: 7.922 kB / 392.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.553e-05, allocations: 6.281 kB / 392.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006404/0.006439, allocations: 4.112 MB / 396.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.01068, allocations: 2.326 MB / 398.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.01112, allocations: 15.94 kB / 398.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.01158, allocations: 166.6 kB / 398.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008104/0.01239, allocations: 293.8 kB / 399.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.01323, allocations: 430.5 kB / 399.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.01434, allocations: 0.9815 MB / 400.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.0149, allocations: 341.1 kB / 400.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.01568, allocations: 0.5808 MB / 401.4 MB, free: 440 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.01613, allocations: 295.1 kB / 401.7 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.01627, allocations: 108 kB / 401.8 MB, free: 36 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.01652, allocations: 144 kB / 401.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.01679, allocations: 247.1 kB / 402.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.01714, allocations: 307.2 kB / 402.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.01854, allocations: 1.25 MB / 403.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01855, allocations: 0 / 403.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01855, allocations: 0 / 403.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.01856, allocations: 4 kB / 403.7 MB, free: 14.09 MB / 334.1 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.002117/0.02068, allocations: 1.176 MB / 404.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.02072, allocations: 8.031 kB / 404.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.02089, allocations: 104.3 kB / 405 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.02176, allocations: 0.5109 MB / 405.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.02182, allocations: 54.38 kB / 405.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.02195, allocations: 80.33 kB / 405.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.02345, allocations: 0.8488 MB / 406.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.02348, allocations: 7.938 kB / 406.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.02355, allocations: 35.98 kB / 406.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.02357, allocations: 16 kB / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.02487, allocations: 0.5889 MB / 407.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.02916, allocations: 2.291 MB / 409.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.03028, allocations: 433 kB / 409.8 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.03077, allocations: 228.4 kB / 410.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.03081, allocations: 15.94 kB / 410.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/0.0315, allocations: 378.4 kB / 410.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.03151, allocations: 0 / 410.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001869/0.03337, allocations: 0.779 MB / 411.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.03347, allocations: 136.5 kB / 411.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.03425, allocations: 0.5995 MB / 412 MB, free: 5.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.0343, allocations: 37.7 kB / 412 MB, free: 5.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.03462, allocations: 396.3 kB / 412.4 MB, free: 5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.03473, allocations: 130.9 kB / 412.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.0349, allocations: 98.14 kB / 412.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.03509, allocations: 370.7 kB / 413 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.03562, allocations: 267.9 kB / 413.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.03626, allocations: 409.4 kB / 413.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.03734, allocations: 0.596 MB / 414.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.03735, allocations: 3.938 kB / 414.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001474/0.03882, allocations: 0.7516 MB / 415 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.03892, allocations: 89.09 kB / 415.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.03893, allocations: 4.438 kB / 415.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.03911, allocations: 32.84 kB / 415.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.03953, allocations: 99.81 kB / 415.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.04067, allocations: 1.26 MB / 416.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.04112, allocations: 79.78 kB / 416.5 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.04116, allocations: 20 kB / 416.6 MB, free: 476 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007661/0.04193, allocations: 450.8 kB / 417 MB, free: 4 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006153/0.04254, allocations: 397.4 kB / 417.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00103/0.04357, allocations: 0.5746 MB / 418 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.04358, allocations: 0 / 418 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001396/0.04497, allocations: 0.7262 MB / 418.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.04505, allocations: 97.09 kB / 418.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.04505, allocations: 4 kB / 418.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.786e-05/0.04515, allocations: 24.84 kB / 418.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.04552, allocations: 96.2 kB / 418.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.04662, allocations: 1.268 MB / 420.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.04705, allocations: 67.73 kB / 420.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.04709, allocations: 20.16 kB / 420.3 MB, free: 12.43 MB / 350.1 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.0002664/0.04736, allocations: 286.3 kB / 420.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.04745, allocations: 59.67 kB / 420.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.04874, allocations: 0.5726 MB / 421.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.04874, allocations: 8 kB / 421.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.04875, allocations: 7.922 kB / 421.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.04876, allocations: 0 / 421.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.05082, allocations: 1.135 MB / 422.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.05083, allocations: 3.938 kB / 422.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.05117, allocations: 67.89 kB / 422.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.05127, allocations: 20.84 kB / 422.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.05131, allocations: 8 kB / 422.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.05238, allocations: 1.26 MB / 423.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.05238, allocations: 4.156 kB / 423.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.05426, allocations: 0.9368 MB / 424.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.05439, allocations: 59.64 kB / 424.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.05447, allocations: 16 kB / 424.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.05486, allocations: 39.95 kB / 424.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.055, allocations: 39.97 kB / 424.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.05503, allocations: 11.98 kB / 424.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000623/0.05565, allocations: 430.8 kB / 425.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05565, allocations: 0 / 425.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.0567, allocations: 338.8 kB / 425.5 MB, free: 6.867 MB / 350.1 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.00146/0.05816, allocations: 397.2 kB / 425.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002591/0.06075, allocations: 1.432 MB / 427.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.06075, allocations: 0 / 427.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.06154, allocations: 480.7 kB / 427.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.06212, allocations: 87.3 kB / 427.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.06472, allocations: 1.351 MB / 429.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.06514, allocations: 342 kB / 429.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.06542, allocations: 67.34 kB / 429.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.06555, allocations: 44.48 kB / 429.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.06555, allocations: 0 / 429.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Templates: time 0.01628/0.08183, allocations: 7.504 MB / 437.2 MB, free: 11.14 MB / 366.1 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1859767735004425] Failed to read output from testmodel.py, exit status != 0: 0.09125065058469772 0.338804085 0.31662352299999996 Calling exit ...