Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001516/0.001516, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.002028/0.002028, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.052/1.052, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.04019/0.04019, allocations: 6.504 MB / 266.8 MB, free: 6.484 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.396e-06/3.396e-06, allocations: 3.938 kB / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.443e-05/4.783e-05, allocations: 6.25 kB / 338.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.00831/0.008358, allocations: 5.03 MB / 343.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.01132, allocations: 1.6 MB / 345.2 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.0117, allocations: 19.88 kB / 345.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.01212, allocations: 202.5 kB / 345.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.01266, allocations: 290 kB / 345.7 MB, free: 4.402 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.01322, allocations: 387.3 kB / 346 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008135/0.01404, allocations: 0.9778 MB / 347 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.01442, allocations: 307.5 kB / 347.3 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.01493, allocations: 0.5652 MB / 347.9 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.01528, allocations: 339.1 kB / 348.2 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.469e-05/0.01537, allocations: 104 kB / 348.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.01553, allocations: 151.8 kB / 348.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.01566, allocations: 227.2 kB / 348.7 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.01584, allocations: 287.3 kB / 349 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.01651, allocations: 0.6734 MB / 349.6 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01652, allocations: 0 / 349.6 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01652, allocations: 0 / 349.6 MB, free: 404 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.01652, allocations: 0 / 349.6 MB, free: 404 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001315/0.01784, allocations: 1.242 MB / 350.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.01788, allocations: 8.031 kB / 350.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.01801, allocations: 148.4 kB / 351 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.01844, allocations: 470.1 kB / 351.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.01853, allocations: 109.3 kB / 351.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.01861, allocations: 72.33 kB / 351.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.01919, allocations: 0.6125 MB / 352.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.0192, allocations: 0 / 352.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.01924, allocations: 28 kB / 352.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.01926, allocations: 16 kB / 352.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.01953, allocations: 264.3 kB / 352.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.02186, allocations: 2.238 MB / 354.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.02221, allocations: 267.8 kB / 355.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.02232, allocations: 131.6 kB / 355.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.02235, allocations: 4.281 kB / 355.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.0226, allocations: 304.6 kB / 355.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.02261, allocations: 0 / 355.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005913/0.0232, allocations: 0.5104 MB / 356 MB, free: 9.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.02325, allocations: 140.5 kB / 356.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.02356, allocations: 490.3 kB / 356.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.02359, allocations: 33.7 kB / 356.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.0238, allocations: 443 kB / 357.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.02387, allocations: 134.9 kB / 357.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.02397, allocations: 107.7 kB / 357.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.02413, allocations: 0.5351 MB / 357.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.02426, allocations: 158.7 kB / 358 MB, free: 7.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.02446, allocations: 338.7 kB / 358.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.02476, allocations: 444.8 kB / 358.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02476, allocations: 0 / 358.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004802/0.02524, allocations: 0.5591 MB / 359.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.02529, allocations: 93.09 kB / 359.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.0253, allocations: 7.984 kB / 359.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.02541, allocations: 32.05 kB / 359.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.02561, allocations: 95.83 kB / 359.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.02668, allocations: 1.721 MB / 361.3 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.02686, allocations: 63.64 kB / 361.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.02689, allocations: 20 kB / 361.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002057/0.02709, allocations: 285 kB / 361.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002013/0.02729, allocations: 337 kB / 362 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002966/0.02759, allocations: 450.9 kB / 362.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.02759, allocations: 0 / 362.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004512/0.02804, allocations: 0.5534 MB / 363 MB, free: 1.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.02808, allocations: 93.09 kB / 363.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.02809, allocations: 4 kB / 363.1 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.275e-05/0.02815, allocations: 27.61 kB / 363.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.02833, allocations: 91.89 kB / 363.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007033/0.02903, allocations: 1.713 MB / 364.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.02921, allocations: 71.62 kB / 365 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02923, allocations: 16 kB / 365 MB, free: 15.78 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,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$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.0001616/0.02939, allocations: 359.4 kB / 365.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.02945, allocations: 75.62 kB / 365.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.02984, allocations: 410 kB / 365.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.02984, allocations: 7.938 kB / 365.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.02984, allocations: 0 / 365.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02985, allocations: 4 kB / 365.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.03061, allocations: 0.8683 MB / 366.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.03062, allocations: 3.938 kB / 366.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.03077, allocations: 59.91 kB / 366.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-05/0.03084, allocations: 23.67 kB / 366.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.03086, allocations: 8 kB / 366.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008158/0.03167, allocations: 1.701 MB / 368.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03168, allocations: 0 / 368.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.0323, allocations: 0.6904 MB / 369.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.03241, allocations: 95.5 kB / 369.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.03245, allocations: 8 kB / 369.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.03261, allocations: 35.91 kB / 369.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.03269, allocations: 39.88 kB / 369.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.03271, allocations: 12 kB / 369.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.03289, allocations: 302.7 kB / 369.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03289, allocations: 0 / 369.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004852/0.03338, allocations: 315 kB / 370 MB, free: 10.5 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,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,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 (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.0007596/0.03413, allocations: 343.5 kB / 370.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008961/0.03503, allocations: 1.274 MB / 371.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03503, allocations: 0 / 371.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.03529, allocations: 455.5 kB / 372 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.03562, allocations: 101.8 kB / 372.1 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.03717, allocations: 1.187 MB / 373.3 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/0.03726, allocations: 141.7 kB / 373.5 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.03741, allocations: 55.25 kB / 373.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.03763, allocations: 178.1 kB / 373.7 MB, free: 6.609 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.03763, allocations: 0 / 373.7 MB, free: 6.609 MB / 346.7 MB Notification: Performance of Templates: time 0.0103/0.04793, allocations: 7.588 MB / 381.3 MB, free: 15.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2546009342186153]