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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001667, allocations: 107.8 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 197.4 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04075/0.04075, allocations: 8.571 MB / 299.3 MB, free: 6.539 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 361.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 51.38 MB / 412.9 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.0047/0.2594, allocations: 4.433 MB / 417.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.2619, allocations: 2.067 MB / 419.4 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.2624, allocations: 15.94 kB / 419.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.2629, allocations: 131.3 kB / 419.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005512/0.2635, allocations: 186.9 kB / 419.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.2642, allocations: 378.6 kB / 420.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.2649, allocations: 0.9547 MB / 421 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.2654, allocations: 0.5005 MB / 421.5 MB, free: 16.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.2657, allocations: 378.7 kB / 421.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.2661, allocations: 410.2 kB / 422.3 MB, free: 16.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-05/0.2662, allocations: 112 kB / 422.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.2664, allocations: 156 kB / 422.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2666, allocations: 247.3 kB / 422.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.2669, allocations: 465.8 kB / 423.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.2675, allocations: 0.9745 MB / 424.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2676, allocations: 0 / 424.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2676, allocations: 0 / 424.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2676, allocations: 4 kB / 424.3 MB, free: 14.16 MB / 302.1 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.001625/0.2692, allocations: 1.233 MB / 425.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2693, allocations: 15.89 kB / 425.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2694, allocations: 95.81 kB / 425.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.27, allocations: 0.5637 MB / 426.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.27, allocations: 54.38 kB / 426.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/0.2701, allocations: 80.12 kB / 426.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2712, allocations: 0.7448 MB / 427 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2713, allocations: 0 / 427 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.2713, allocations: 28 kB / 427.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2713, allocations: 16 kB / 427.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.2723, allocations: 0.5347 MB / 427.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.2753, allocations: 2.722 MB / 430.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.2762, allocations: 478.7 kB / 430.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.2766, allocations: 181 kB / 431 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.2767, allocations: 7.984 kB / 431 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/0.2773, allocations: 274.8 kB / 431.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.2773, allocations: 0 / 431.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001524/0.2788, allocations: 0.7308 MB / 432 MB, free: 6.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.2789, allocations: 170.5 kB / 432.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/0.2797, allocations: 0.6708 MB / 432.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.2798, allocations: 41.69 kB / 432.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.2801, allocations: 383.8 kB / 433.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.682e-05/0.2802, allocations: 118.3 kB / 433.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2803, allocations: 94.03 kB / 433.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2805, allocations: 374.7 kB / 433.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.2809, allocations: 178.6 kB / 434 MB, free: 4.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.2813, allocations: 307.9 kB / 434.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007874/0.2821, allocations: 0.5953 MB / 434.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2821, allocations: 0 / 434.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001041/0.2832, allocations: 0.6562 MB / 435.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.2833, allocations: 93.09 kB / 435.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.2833, allocations: 4.438 kB / 435.6 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.2835, allocations: 28.84 kB / 435.7 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2838, allocations: 99.81 kB / 435.8 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008444/0.2847, allocations: 1.399 MB / 437.2 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.2851, allocations: 83.58 kB / 437.2 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.2852, allocations: 20 kB / 437.3 MB, free: 420 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000521/0.2857, allocations: 353 kB / 437.6 MB, free: 64 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005176/0.2862, allocations: 295.8 kB / 437.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001016/0.2873, allocations: 0.5603 MB / 438.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.2873, allocations: 0 / 438.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001333/0.2886, allocations: 0.647 MB / 439.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.2887, allocations: 92.2 kB / 439.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2887, allocations: 8 kB / 439.2 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.875e-05/0.2888, allocations: 24.84 kB / 439.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.2892, allocations: 95.81 kB / 439.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.2905, allocations: 1.391 MB / 440.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.2909, allocations: 67.78 kB / 440.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.291, allocations: 23.98 kB / 440.8 MB, free: 12.55 MB / 318.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 (53): * Single equations (assignments): 49 * 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.0003218/0.2913, allocations: 266.6 kB / 441.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.2915, allocations: 67.12 kB / 441.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.2928, allocations: 0.5421 MB / 441.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2928, allocations: 0 / 441.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2928, allocations: 4 kB / 441.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.2928, allocations: 3.984 kB / 441.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.295, allocations: 1.279 MB / 443 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.295, allocations: 0 / 443 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.2954, allocations: 63.89 kB / 443 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.2955, allocations: 24.84 kB / 443 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.2955, allocations: 8 kB / 443 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.2967, allocations: 1.391 MB / 444.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2967, allocations: 7.969 kB / 444.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.2983, allocations: 0.8235 MB / 445.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.2985, allocations: 140.4 kB / 445.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.2986, allocations: 8 kB / 445.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.299, allocations: 43.95 kB / 445.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.2991, allocations: 39.95 kB / 445.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2991, allocations: 8 kB / 445.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006829/0.2998, allocations: 490.8 kB / 446 MB, free: 7.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2998, allocations: 0 / 446 MB, free: 7.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009951/0.3008, allocations: 318.6 kB / 446.3 MB, free: 6.754 MB / 318.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.001554/0.3024, allocations: 409.4 kB / 446.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.3049, allocations: 1.255 MB / 448 MB, free: 5.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.305, allocations: 3.938 kB / 448 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007354/0.3057, allocations: 450.6 kB / 448.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.3064, allocations: 85.33 kB / 448.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.3093, allocations: 1.685 MB / 450.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.3099, allocations: 0.9328 MB / 451.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3101, allocations: 43.44 kB / 451.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3101, allocations: 0 / 451.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of Templates: time 0.01875/0.3288, allocations: 12.01 MB / 463.1 MB, free: 5.84 MB / 334.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile (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)