Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.0009929/0.0009929, allocations: 73.88 kB / 20.65 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.00109/0.00109, allocations: 169 kB / 24.06 MB, free: 452 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 0.9996/0.9996, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.02694/0.02694, allocations: 6.494 MB / 267.5 MB, free: 6.453 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.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 339.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.64e-05, allocations: 8.781 kB / 339.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.005506/0.005533, allocations: 5.066 MB / 344.4 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.008027, allocations: 1.608 MB / 346 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.008471, allocations: 15.94 kB / 346 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.008903, allocations: 202.5 kB / 346.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006145/0.009517, allocations: 293.9 kB / 346.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.01025, allocations: 387.2 kB / 346.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008966/0.01115, allocations: 0.9896 MB / 347.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.01163, allocations: 348.4 kB / 348.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.01231, allocations: 0.573 MB / 348.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.01271, allocations: 351 kB / 349.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01281, allocations: 104 kB / 349.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.01299, allocations: 151.9 kB / 349.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.01313, allocations: 223.2 kB / 349.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.01335, allocations: 295.2 kB / 349.9 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.01437, allocations: 0.689 MB / 350.6 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.01437, allocations: 0 / 350.6 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01437, allocations: 0 / 350.6 MB, free: 244 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.01439, allocations: 3.938 kB / 350.6 MB, free: 240 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001374/0.01576, allocations: 1.253 MB / 351.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.01579, allocations: 8.031 kB / 351.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.01596, allocations: 160.3 kB / 352 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.01644, allocations: 474 kB / 352.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/0.01653, allocations: 117.9 kB / 352.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.0166, allocations: 72.38 kB / 352.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.01723, allocations: 0.6265 MB / 353.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.01725, allocations: 3.953 kB / 353.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.01729, allocations: 31.98 kB / 353.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.0173, allocations: 20 kB / 353.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.0176, allocations: 269.1 kB / 353.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.02003, allocations: 2.273 MB / 355.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.02043, allocations: 263.9 kB / 356.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.02055, allocations: 135.6 kB / 356.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.02058, allocations: 12.25 kB / 356.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.02084, allocations: 300.6 kB / 356.5 MB, free: 9.906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.354e-06/0.02085, allocations: 4 kB / 356.5 MB, free: 9.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006387/0.02148, allocations: 0.5104 MB / 357.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.02154, allocations: 140.5 kB / 357.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.02214, allocations: 494.2 kB / 357.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.02217, allocations: 33.7 kB / 357.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.0224, allocations: 443 kB / 358.1 MB, free: 8.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.02248, allocations: 134.9 kB / 358.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02259, allocations: 103.8 kB / 358.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.02274, allocations: 0.5429 MB / 358.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.02286, allocations: 158.7 kB / 359.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.02306, allocations: 338.7 kB / 359.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.02336, allocations: 436.8 kB / 359.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02337, allocations: 0 / 359.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005051/0.02387, allocations: 0.5699 MB / 360.4 MB, free: 5.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.02392, allocations: 97.09 kB / 360.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.02393, allocations: 0 / 360.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.02404, allocations: 27.67 kB / 360.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.02427, allocations: 100.3 kB / 360.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007553/0.02502, allocations: 1.709 MB / 362.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.02525, allocations: 59.7 kB / 362.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.02528, allocations: 20 kB / 362.4 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002156/0.02549, allocations: 285 kB / 362.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001966/0.02569, allocations: 346.6 kB / 363 MB, free: 2.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002995/0.02599, allocations: 450.9 kB / 363.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.02599, allocations: 4 kB / 363.5 MB, free: 2.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004774/0.02647, allocations: 0.5535 MB / 364 MB, free: 1.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.02678, allocations: 95.59 kB / 364.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.02678, allocations: 4 kB / 364.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.26e-05/0.02684, allocations: 19.69 kB / 364.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.02703, allocations: 91.89 kB / 364.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006999/0.02773, allocations: 1.721 MB / 365.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.02794, allocations: 59.7 kB / 366 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.02796, allocations: 20 kB / 366 MB, free: 15.51 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: 8 (oneFlange.pDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.0001725/0.02814, allocations: 355.4 kB / 366.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.02822, allocations: 79.67 kB / 366.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.02864, allocations: 410 kB / 366.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.02864, allocations: 4 kB / 366.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02865, allocations: 3.984 kB / 366.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.02865, allocations: 0 / 366.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.02961, allocations: 0.8721 MB / 367.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.02961, allocations: 0 / 367.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.02978, allocations: 63.91 kB / 367.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.591e-05/0.02984, allocations: 31.61 kB / 367.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.02987, allocations: 11.98 kB / 367.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/0.03057, allocations: 1.705 MB / 369.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.03057, allocations: 0 / 369.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.03118, allocations: 0.6865 MB / 370.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.0313, allocations: 87.56 kB / 370.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.03134, allocations: 11.94 kB / 370.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.03151, allocations: 31.97 kB / 370.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.03159, allocations: 39.94 kB / 370.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.03161, allocations: 4 kB / 370.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.0318, allocations: 306.7 kB / 370.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0318, allocations: 0 / 370.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006175/0.03241, allocations: 318.9 kB / 371 MB, free: 10.23 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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 (34): * Single equations (assignments): 29 * 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.001021/0.03343, allocations: 348.6 kB / 371.4 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.03434, allocations: 1.27 MB / 372.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.03434, allocations: 0 / 372.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.0346, allocations: 455.5 kB / 373.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.03496, allocations: 103.7 kB / 373.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.03664, allocations: 1.2 MB / 374.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.03673, allocations: 149.7 kB / 374.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.0369, allocations: 51.25 kB / 374.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.03713, allocations: 174.1 kB / 374.7 MB, free: 6.328 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03713, allocations: 4 kB / 374.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of Templates: time 0.01142/0.04855, allocations: 7.792 MB / 382.5 MB, free: 14.6 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0624228697270155]