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.001444/0.001444, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001652/0.001652, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.02683/0.02683, allocations: 6.501 MB / 267.5 MB, free: 6.465 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.403e-06/1.403e-06, allocations: 0 / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.764e-05, allocations: 6.25 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.01053/0.01055, allocations: 4.342 MB / 343.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.0136, allocations: 2.377 MB / 346 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.01387, allocations: 15.94 kB / 346 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.01418, allocations: 162.6 kB / 346.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.01468, allocations: 289.8 kB / 346.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.01512, allocations: 423.3 kB / 346.9 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000654/0.01577, allocations: 0.9932 MB / 347.9 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.01615, allocations: 345 kB / 348.2 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.01663, allocations: 0.5847 MB / 348.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.01696, allocations: 343.1 kB / 349.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.962e-05/0.01705, allocations: 119.9 kB / 349.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.01723, allocations: 199.8 kB / 349.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.01741, allocations: 255.2 kB / 349.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.01762, allocations: 319.2 kB / 350 MB, free: 0.793 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006635/0.01829, allocations: 0.7863 MB / 350.8 MB, free: 4 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.01829, allocations: 0 / 350.8 MB, free: 4 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01829, allocations: 0 / 350.8 MB, free: 4 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.0183, allocations: 0 / 350.8 MB, free: 4 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.00149/0.01979, allocations: 1.311 MB / 352.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.01982, allocations: 8.031 kB / 352.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.01997, allocations: 160.3 kB / 352.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.02044, allocations: 494 kB / 352.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.02048, allocations: 58.38 kB / 352.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.02055, allocations: 84.31 kB / 352.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.02119, allocations: 0.6676 MB / 353.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.02121, allocations: 7.922 kB / 353.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.02125, allocations: 32 kB / 353.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.02126, allocations: 16 kB / 353.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.02155, allocations: 265.2 kB / 353.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.02363, allocations: 2.281 MB / 356.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.02398, allocations: 261.7 kB / 356.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.02408, allocations: 136.2 kB / 356.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.02411, allocations: 4 kB / 356.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.02435, allocations: 305.1 kB / 356.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.522e-06/0.02435, allocations: 0 / 356.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005841/0.02493, allocations: 0.5124 MB / 357.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.02499, allocations: 170.2 kB / 357.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.02537, allocations: 0.5101 MB / 358 MB, free: 8.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.0254, allocations: 37.7 kB / 358.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.02592, allocations: 466.9 kB / 358.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/0.02599, allocations: 122.9 kB / 358.7 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.0261, allocations: 107.8 kB / 358.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.02625, allocations: 0.5429 MB / 359.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.02637, allocations: 154.7 kB / 359.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.02657, allocations: 376 kB / 359.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.02687, allocations: 448.8 kB / 360.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.02687, allocations: 3.938 kB / 360.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004911/0.02736, allocations: 0.5556 MB / 360.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.02741, allocations: 89.09 kB / 360.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02741, allocations: 8 kB / 360.9 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.602e-05/0.02751, allocations: 23.69 kB / 360.9 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.0277, allocations: 87.89 kB / 361 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.02839, allocations: 1.729 MB / 362.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.02858, allocations: 71.67 kB / 362.8 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.0286, allocations: 16 kB / 362.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001999/0.0288, allocations: 276.9 kB / 363.1 MB, free: 2.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001886/0.02899, allocations: 372.1 kB / 363.5 MB, free: 2.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002992/0.02929, allocations: 454.8 kB / 363.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.02929, allocations: 0 / 363.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004559/0.02975, allocations: 0.5455 MB / 364.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.02979, allocations: 89.09 kB / 364.5 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.02979, allocations: 7.984 kB / 364.6 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.56e-05/0.02986, allocations: 36.05 kB / 364.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.03003, allocations: 91.83 kB / 364.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009417/0.03097, allocations: 1.717 MB / 366.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.03115, allocations: 59.89 kB / 366.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.03118, allocations: 20 kB / 366.5 MB, free: 15.05 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.0001496/0.03133, allocations: 362 kB / 366.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.0314, allocations: 75.62 kB / 366.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.03177, allocations: 404.8 kB / 367.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.03177, allocations: 4 kB / 367.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.03177, allocations: 0 / 367.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.03178, allocations: 3.984 kB / 367.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.0326, allocations: 0.9113 MB / 368.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0326, allocations: 0 / 368.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.03276, allocations: 51.97 kB / 368.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-05/0.03281, allocations: 19.67 kB / 368.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.03283, allocations: 8 kB / 368.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006575/0.03349, allocations: 1.729 MB / 370 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.03349, allocations: 0 / 370 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.03402, allocations: 0.6742 MB / 370.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.03408, allocations: 59.59 kB / 370.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.03412, allocations: 12 kB / 370.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.03428, allocations: 31.97 kB / 370.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.03434, allocations: 40 kB / 370.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.03436, allocations: 4 kB / 370.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.03456, allocations: 326.7 kB / 371.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03456, allocations: 0 / 371.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.03513, allocations: 354.7 kB / 371.5 MB, free: 9.719 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.00094/0.03607, allocations: 459.7 kB / 372 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.03721, allocations: 1.271 MB / 373.2 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.03721, allocations: 0 / 373.2 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.03747, allocations: 451.6 kB / 373.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.0378, allocations: 97.08 kB / 373.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.03929, allocations: 1.255 MB / 375 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.609e-05/0.03939, allocations: 153.7 kB / 375.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.03954, allocations: 59.36 kB / 375.2 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.03977, allocations: 182.1 kB / 375.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of SimCode: time 6.12e-07/0.03978, allocations: 0 / 375.4 MB, free: 5.676 MB / 346.7 MB Notification: Performance of Templates: time 0.0119/0.05168, allocations: 9.114 MB / 384.5 MB, free: 12.63 MB / 362.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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.15933849895373]