Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.006593/0.006593, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001495/0.001495, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1623/0.1623, allocations: 8.007 MB / 298.5 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 413.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2991, allocations: 51.24 MB / 464.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange4): time 0.006017/0.3052, allocations: 4.857 MB / 469.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.3096, allocations: 2.561 MB / 471.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.3102, allocations: 17.19 kB / 471.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006676/0.3109, allocations: 239.4 kB / 472.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.3116, allocations: 289.6 kB / 472.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3128, allocations: 0.5411 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3142, allocations: 1.035 MB / 473.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00081/0.315, allocations: 0.492 MB / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.3157, allocations: 392.5 kB / 474.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000679/0.3163, allocations: 454.6 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.3165, allocations: 107.5 kB / 475.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.3171, allocations: 210.8 kB / 475.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.3174, allocations: 250.8 kB / 475.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.3179, allocations: 473.7 kB / 476.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3196, allocations: 1.269 MB / 477.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3197, allocations: 0 / 477.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3197, allocations: 1.375 kB / 477.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3197, allocations: 0 / 477.5 MB, free: 9.957 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.001838/0.3215, allocations: 1.317 MB / 478.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3216, allocations: 14.17 kB / 478.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.3218, allocations: 106.9 kB / 479 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.3227, allocations: 0.6079 MB / 479.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.3228, allocations: 53.66 kB / 479.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3229, allocations: 75.53 kB / 479.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.3242, allocations: 0.7121 MB / 480.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.3242, allocations: 1.375 kB / 480.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.3243, allocations: 28.16 kB / 480.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.3243, allocations: 15.56 kB / 480.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.3254, allocations: 0.5046 MB / 481 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.3284, allocations: 2.6 MB / 483.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.3293, allocations: 456.3 kB / 484 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.3297, allocations: 187.5 kB / 484.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.3298, allocations: 8.531 kB / 484.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005601/0.3303, allocations: 263.4 kB / 484.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.3304, allocations: 1.219 kB / 484.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001654/0.332, allocations: 0.7386 MB / 485.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3321, allocations: 221 kB / 485.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008932/0.333, allocations: 0.8017 MB / 486.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.333, allocations: 34.42 kB / 486.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.3332, allocations: 409.7 kB / 486.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.3333, allocations: 127 kB / 486.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.3335, allocations: 97.23 kB / 486.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.3335, allocations: 379.8 kB / 487.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.334, allocations: 178.7 kB / 487.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.3344, allocations: 301.3 kB / 487.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.3353, allocations: 0.5754 MB / 488.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3353, allocations: 0 / 488.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001124/0.3365, allocations: 0.6551 MB / 488.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3365, allocations: 96.75 kB / 489 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3365, allocations: 8.109 kB / 489 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.3367, allocations: 33.53 kB / 489.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.337, allocations: 95.47 kB / 489.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006627/0.3377, allocations: 1.386 MB / 490.5 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.3382, allocations: 85.89 kB / 490.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3382, allocations: 20.5 kB / 490.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006598/0.3389, allocations: 366.5 kB / 491 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005181/0.3394, allocations: 287 kB / 491.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009273/0.3404, allocations: 0.5506 MB / 491.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.3404, allocations: 0 / 491.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001209/0.3416, allocations: 0.6268 MB / 492.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/0.3417, allocations: 94.91 kB / 492.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3417, allocations: 2.5 kB / 492.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.259e-05/0.3418, allocations: 22.7 kB / 492.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.3421, allocations: 95.19 kB / 492.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3432, allocations: 1.385 MB / 494.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.3437, allocations: 71.86 kB / 494.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3438, allocations: 23.83 kB / 494.2 MB, free: 13.15 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.0002551/0.344, allocations: 277.3 kB / 494.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3441, allocations: 74.56 kB / 494.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.3453, allocations: 0.5436 MB / 495 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3454, allocations: 4.156 kB / 495 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3454, allocations: 0 / 495 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3454, allocations: 0 / 495 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.3475, allocations: 1.3 MB / 496.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3476, allocations: 0 / 496.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3479, allocations: 69.02 kB / 496.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.764e-05/0.348, allocations: 29.5 kB / 496.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.348, allocations: 9.031 kB / 496.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3491, allocations: 1.369 MB / 497.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3491, allocations: 3.984 kB / 497.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3508, allocations: 0.8339 MB / 498.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.3511, allocations: 187.5 kB / 498.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.3511, allocations: 7.75 kB / 498.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.3515, allocations: 51.09 kB / 498.9 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3516, allocations: 33.94 kB / 498.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3517, allocations: 15.11 kB / 498.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007246/0.3524, allocations: 0.5627 MB / 499.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3524, allocations: 0 / 499.5 MB, free: 8.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009023/0.3533, allocations: 327.8 kB / 499.8 MB, free: 8.699 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.002423/0.3557, allocations: 0.6574 MB / 0.4888 GB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.358, allocations: 1.234 MB / 0.49 GB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.358, allocations: 0 / 0.49 GB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007039/0.3587, allocations: 433.3 kB / 0.4904 GB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.3594, allocations: 121.9 kB / 0.4905 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.3622, allocations: 1.461 MB / 0.4919 GB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/0.3629, allocations: 0.9528 MB / 0.4928 GB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003341/0.3633, allocations: 80.55 kB / 0.4929 GB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3634, allocations: 51.42 kB / 0.493 GB, free: 3.797 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3634, allocations: 0 / 0.493 GB, free: 3.797 MB / 366.1 MB Notification: Performance of Templates: time 0.01957/0.383, allocations: 8.993 MB / 0.5018 GB, free: 10.85 MB / 382.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange4.pipe 2>&1)