Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 190.4 kB / 16.66 MB, free: 6.59 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1884/0.1884, allocations: 8.005 MB / 298.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 413.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 51.24 MB / 464.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange4): time 0.006377/0.3099, allocations: 4.853 MB / 469.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.3149, allocations: 2.557 MB / 471.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009975/0.3159, allocations: 18 kB / 471.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.3167, allocations: 238.4 kB / 472 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009637/0.3177, allocations: 287.5 kB / 472.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3192, allocations: 0.5516 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.3205, allocations: 1.031 MB / 473.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/0.3213, allocations: 0.496 MB / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.3217, allocations: 389.3 kB / 474.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.3223, allocations: 458.5 kB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.3225, allocations: 108.3 kB / 475.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.3231, allocations: 209.2 kB / 475.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.3233, allocations: 244.2 kB / 475.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003651/0.3237, allocations: 481.6 kB / 476.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.3254, allocations: 1.269 MB / 477.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3254, allocations: 0.75 kB / 477.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3254, allocations: 0 / 477.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.3254, allocations: 1.344 kB / 477.5 MB, free: 9.938 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001993/0.3274, allocations: 1.319 MB / 478.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3275, allocations: 12.98 kB / 478.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.3277, allocations: 103.6 kB / 479 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.3285, allocations: 0.6105 MB / 479.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.3286, allocations: 55.38 kB / 479.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3287, allocations: 70.16 kB / 479.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3299, allocations: 0.717 MB / 480.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.33, allocations: 1.062 kB / 480.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.33, allocations: 31.69 kB / 480.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.3301, allocations: 16.34 kB / 480.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3312, allocations: 0.497 MB / 480.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.3343, allocations: 2.611 MB / 483.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009477/0.3353, allocations: 448.3 kB / 484 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.3357, allocations: 184.7 kB / 484.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3358, allocations: 8.844 kB / 484.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.3363, allocations: 275.1 kB / 484.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.3363, allocations: 1.156 kB / 484.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001663/0.338, allocations: 0.7346 MB / 485.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3381, allocations: 221.4 kB / 485.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009585/0.339, allocations: 0.7975 MB / 486.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3391, allocations: 42.45 kB / 486.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3393, allocations: 405.5 kB / 486.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/0.3394, allocations: 130.6 kB / 486.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.3396, allocations: 93.77 kB / 486.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3397, allocations: 376 kB / 487.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.3401, allocations: 190.6 kB / 487.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.3406, allocations: 302.1 kB / 487.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.3415, allocations: 0.5753 MB / 488.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3415, allocations: 0 / 488.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001199/0.3427, allocations: 0.6545 MB / 488.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.3428, allocations: 91.98 kB / 489 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3428, allocations: 8.062 kB / 489 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/0.343, allocations: 25.22 kB / 489.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3434, allocations: 99.72 kB / 489.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007517/0.3441, allocations: 1.382 MB / 490.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.3446, allocations: 90.73 kB / 490.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3447, allocations: 19.12 kB / 490.6 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006783/0.3453, allocations: 359.3 kB / 491 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000521/0.3459, allocations: 294.4 kB / 491.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009527/0.3468, allocations: 0.5466 MB / 491.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.3468, allocations: 1.219 kB / 491.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001277/0.3481, allocations: 0.6261 MB / 492.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.43e-05/0.3482, allocations: 95.38 kB / 492.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3482, allocations: 2.5 kB / 492.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.364e-05/0.3483, allocations: 22.02 kB / 492.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.3487, allocations: 96.72 kB / 492.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3499, allocations: 1.384 MB / 494.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.3503, allocations: 71.81 kB / 494.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3504, allocations: 23.02 kB / 494.1 MB, free: 13.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (oneFlange.limTau.state,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.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.00027/0.3507, allocations: 276.4 kB / 494.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3508, allocations: 78.2 kB / 494.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.352, allocations: 0.5356 MB / 495 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3521, allocations: 3.938 kB / 495 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3521, allocations: 0 / 495 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3521, allocations: 5.188 kB / 495 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.3543, allocations: 1.295 MB / 496.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3544, allocations: 1.125 kB / 496.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.3547, allocations: 67.2 kB / 496.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.3548, allocations: 31.88 kB / 496.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.3548, allocations: 12.19 kB / 496.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.356, allocations: 1.372 MB / 497.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.356, allocations: 0 / 497.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.3578, allocations: 0.8304 MB / 498.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.3581, allocations: 186.2 kB / 498.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3582, allocations: 13.33 kB / 498.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.3586, allocations: 49.14 kB / 498.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.3588, allocations: 38.92 kB / 498.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.3588, allocations: 11.88 kB / 498.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008343/0.3597, allocations: 0.5656 MB / 499.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 1.688 kB / 499.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3607, allocations: 322.2 kB / 499.8 MB, free: 8.703 MB / 366.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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * 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.002503/0.3632, allocations: 0.6576 MB / 0.4887 GB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.3656, allocations: 1.223 MB / 0.4899 GB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.3656, allocations: 8.062 kB / 0.4899 GB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.3663, allocations: 433.3 kB / 0.4904 GB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.3671, allocations: 133.2 kB / 0.4905 GB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.3698, allocations: 1.457 MB / 0.4919 GB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.3704, allocations: 0.9529 MB / 0.4928 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.3708, allocations: 76.55 kB / 0.4929 GB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3709, allocations: 51.42 kB / 0.493 GB, free: 3.801 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3709, allocations: 0 / 0.493 GB, free: 3.801 MB / 366.1 MB Notification: Performance of Templates: time 0.01797/0.3889, allocations: 8.984 MB / 0.5017 GB, free: 10.86 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe 2>&1)