Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001182/0.001182, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001038/0.001038, allocations: 173 kB / 23.02 MB, free: 1.543 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.05/1.05, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03024/0.03024, allocations: 6.484 MB / 266.4 MB, free: 6.641 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.749e-06/4.749e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.518e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.006076/0.006112, allocations: 5.132 MB / 343.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.008897, allocations: 1.612 MB / 344.8 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.009455, allocations: 15.94 kB / 344.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.009903, allocations: 202.5 kB / 345 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007221/0.01062, allocations: 293.9 kB / 345.3 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.01128, allocations: 379.3 kB / 345.7 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008344/0.01211, allocations: 0.97 MB / 346.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.01251, allocations: 319.5 kB / 347 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006946/0.01321, allocations: 0.5613 MB / 347.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.01359, allocations: 339 kB / 347.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-05/0.01368, allocations: 104 kB / 348 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.01387, allocations: 151.9 kB / 348.1 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01402, allocations: 207.3 kB / 348.3 MB, free: 500 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.01423, allocations: 295.2 kB / 348.6 MB, free: 204 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.01509, allocations: 0.6695 MB / 349.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.01509, allocations: 3.984 kB / 349.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01509, allocations: 0 / 349.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.01511, allocations: 0 / 349.3 MB, free: 15.52 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001489/0.0166, allocations: 1.223 MB / 350.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.01664, allocations: 12.03 kB / 350.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.01683, allocations: 152.3 kB / 350.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.0174, allocations: 470 kB / 351.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.01754, allocations: 113.2 kB / 351.2 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.01762, allocations: 72.33 kB / 351.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008286/0.01845, allocations: 0.6439 MB / 351.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.01847, allocations: 0 / 351.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.01852, allocations: 31.94 kB / 352 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.01853, allocations: 20 kB / 352 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.01898, allocations: 307 kB / 352.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.02151, allocations: 2.32 MB / 354.6 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.02203, allocations: 287.9 kB / 354.9 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.0222, allocations: 147.3 kB / 355 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.02223, allocations: 8.281 kB / 355 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.02257, allocations: 313 kB / 355.3 MB, free: 9.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.647e-06/0.02258, allocations: 0 / 355.3 MB, free: 9.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008755/0.02345, allocations: 0.5457 MB / 355.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.02352, allocations: 144.5 kB / 356 MB, free: 8.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.02394, allocations: 0.4908 MB / 356.5 MB, free: 7.824 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.02397, allocations: 41.69 kB / 356.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.02426, allocations: 423.2 kB / 357 MB, free: 7.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.02434, allocations: 127 kB / 357.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.02446, allocations: 103.8 kB / 357.2 MB, free: 7.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.02462, allocations: 0.5313 MB / 357.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.02481, allocations: 174.7 kB / 357.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.02505, allocations: 365.7 kB / 358.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.0256, allocations: 472.7 kB / 358.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.0256, allocations: 0 / 358.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006929/0.0263, allocations: 0.5943 MB / 359.3 MB, free: 4.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.02637, allocations: 93.09 kB / 359.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.02638, allocations: 4 kB / 359.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.02659, allocations: 28 kB / 359.4 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.02686, allocations: 99.88 kB / 359.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.0279, allocations: 1.744 MB / 361.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.02815, allocations: 55.72 kB / 361.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.02818, allocations: 23.94 kB / 361.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002896/0.02847, allocations: 309 kB / 361.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005647/0.02904, allocations: 346.7 kB / 362 MB, free: 1.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003661/0.02941, allocations: 471.1 kB / 362.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.02941, allocations: 0 / 362.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005849/0.02999, allocations: 0.5963 MB / 363.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.03004, allocations: 89.11 kB / 363.1 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.03005, allocations: 4 kB / 363.1 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.769e-05/0.03013, allocations: 23.67 kB / 363.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.03034, allocations: 95.83 kB / 363.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/0.03114, allocations: 1.736 MB / 365 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.03137, allocations: 55.75 kB / 365.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.0314, allocations: 20 kB / 365.1 MB, free: 14.43 MB / 298.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.limTau.state,oneFlange.limitingTorque,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 (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.0002192/0.03161, allocations: 363.8 kB / 365.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.0317, allocations: 79.72 kB / 365.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.03222, allocations: 434 kB / 365.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.03223, allocations: 7.984 kB / 365.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.03223, allocations: 0 / 365.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.03224, allocations: 0 / 365.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.03333, allocations: 0.9886 MB / 366.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.03333, allocations: 0 / 366.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.03353, allocations: 59.91 kB / 367 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.03361, allocations: 23.67 kB / 367 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.03364, allocations: 12 kB / 367 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008157/0.03446, allocations: 1.736 MB / 368.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.03446, allocations: 0 / 368.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.03554, allocations: 0.7334 MB / 369.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.03567, allocations: 99.44 kB / 369.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.03571, allocations: 8 kB / 369.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.03588, allocations: 27.97 kB / 369.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.03598, allocations: 39.94 kB / 369.7 MB, free: 9.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.036, allocations: 11.94 kB / 369.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002511/0.03625, allocations: 326.8 kB / 370 MB, free: 9.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03625, allocations: 0 / 370 MB, free: 9.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006366/0.03689, allocations: 307 kB / 370.3 MB, free: 8.898 MB / 298.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.0008465/0.03773, allocations: 340.5 kB / 370.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.03899, allocations: 1.329 MB / 372 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.03899, allocations: 3.938 kB / 372 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.03932, allocations: 467.6 kB / 372.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.03971, allocations: 82.14 kB / 372.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.04164, allocations: 1.2 MB / 373.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.04174, allocations: 145.7 kB / 373.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.04192, allocations: 59.23 kB / 373.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.042, allocations: 36.5 kB / 373.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.042, allocations: 4 kB / 373.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of Templates: time 0.01092/0.05292, allocations: 7.383 MB / 381.3 MB, free: 13.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4023390072397888]