Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.00142/0.00142, allocations: 77.09 kB / 20.66 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.001759/0.001759, allocations: 169 kB / 24.05 MB, free: 460 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 1.112/1.112, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.02655/0.02655, allocations: 6.485 MB / 267.5 MB, free: 6.496 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 339.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.708e-05, allocations: 6.312 kB / 339.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.007196/0.007223, allocations: 4.314 MB / 343.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.01129, allocations: 2.372 MB / 346 MB, free: 4.871 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.01173, allocations: 15.94 kB / 346 MB, free: 4.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.01223, allocations: 166.6 kB / 346.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.01306, allocations: 285.9 kB / 346.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.01389, allocations: 439.1 kB / 346.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.01503, allocations: 0.9737 MB / 347.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000579/0.01561, allocations: 345 kB / 348.2 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009011/0.01651, allocations: 0.5731 MB / 348.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.01705, allocations: 323.1 kB / 349.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.0172, allocations: 108 kB / 349.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.01741, allocations: 139.9 kB / 349.3 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.01765, allocations: 251.2 kB / 349.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.018, allocations: 319.2 kB / 349.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.01893, allocations: 0.7046 MB / 350.6 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.01894, allocations: 3.984 kB / 350.6 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01894, allocations: 7.938 kB / 350.6 MB, free: 244 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.01895, allocations: 0 / 350.6 MB, free: 244 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001859/0.02081, allocations: 1.272 MB / 351.9 MB, free: 14.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.02085, allocations: 8.031 kB / 351.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.02109, allocations: 164.3 kB / 352 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.02212, allocations: 490 kB / 352.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.02218, allocations: 54.38 kB / 352.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.02229, allocations: 84.31 kB / 352.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009377/0.02323, allocations: 0.6272 MB / 353.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.02325, allocations: 7.938 kB / 353.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.02332, allocations: 32 kB / 353.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.02333, allocations: 16 kB / 353.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.02377, allocations: 265.1 kB / 353.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.02699, allocations: 2.249 MB / 355.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.02752, allocations: 261.7 kB / 356.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.02769, allocations: 128.2 kB / 356.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.02773, allocations: 4 kB / 356.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.0281, allocations: 297.1 kB / 356.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.0281, allocations: 4 kB / 356.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008423/0.02894, allocations: 0.5279 MB / 357 MB, free: 9.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.02902, allocations: 140.5 kB / 357.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.02953, allocations: 0.5023 MB / 357.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.02957, allocations: 33.7 kB / 357.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.02991, allocations: 462.9 kB / 358.2 MB, free: 8.223 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.03002, allocations: 130.9 kB / 358.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.03019, allocations: 99.75 kB / 358.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.03041, allocations: 0.5507 MB / 358.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.03058, allocations: 154.7 kB / 359.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.03122, allocations: 342.7 kB / 359.4 MB, free: 6.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.0317, allocations: 452.8 kB / 359.9 MB, free: 6.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.0317, allocations: 4 kB / 359.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006068/0.03231, allocations: 0.5552 MB / 360.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.03236, allocations: 93.09 kB / 360.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.03237, allocations: 4 kB / 360.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001061/0.03247, allocations: 27.67 kB / 360.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.03267, allocations: 95.83 kB / 360.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007442/0.03341, allocations: 1.717 MB / 362.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.0336, allocations: 63.66 kB / 362.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.03362, allocations: 16 kB / 362.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001943/0.03382, allocations: 276.9 kB / 362.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001851/0.034, allocations: 346.7 kB / 363 MB, free: 2.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002745/0.03428, allocations: 446.9 kB / 363.5 MB, free: 2.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.03428, allocations: 3.984 kB / 363.5 MB, free: 2.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004491/0.03473, allocations: 0.5459 MB / 364 MB, free: 1.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.03477, allocations: 89.09 kB / 364.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.03478, allocations: 4 kB / 364.1 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.501e-05/0.03484, allocations: 31.66 kB / 364.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.03501, allocations: 95.83 kB / 364.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006459/0.03566, allocations: 1.717 MB / 366 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.03583, allocations: 59.72 kB / 366 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.03585, allocations: 20 kB / 366 MB, free: 15.53 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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0004479/0.0363, allocations: 354.2 kB / 366.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.03636, allocations: 75.59 kB / 366.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.03673, allocations: 409 kB / 366.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.03674, allocations: 4 kB / 366.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.03674, allocations: 0 / 366.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.03675, allocations: 3.984 kB / 366.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.03751, allocations: 0.9034 MB / 367.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.03751, allocations: 0 / 367.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.03766, allocations: 55.91 kB / 367.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.937e-05/0.03771, allocations: 27.61 kB / 367.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.03773, allocations: 12 kB / 367.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006484/0.03838, allocations: 1.713 MB / 369.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03838, allocations: 0 / 369.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.03889, allocations: 0.6703 MB / 370.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.03894, allocations: 59.72 kB / 370.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.03898, allocations: 12 kB / 370.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.03911, allocations: 31.97 kB / 370.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.03918, allocations: 31.94 kB / 370.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.0392, allocations: 12 kB / 370.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.03938, allocations: 318.7 kB / 370.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03938, allocations: 0 / 370.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000513/0.03989, allocations: 334.8 kB / 371 MB, free: 10.25 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.0007336/0.04063, allocations: 343.3 kB / 371.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008084/0.04143, allocations: 1.274 MB / 372.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.04144, allocations: 0 / 372.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.04168, allocations: 447.5 kB / 373.1 MB, free: 8.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.042, allocations: 90.45 kB / 373.2 MB, free: 7.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.04374, allocations: 1.243 MB / 374.4 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.04384, allocations: 153.7 kB / 374.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.04399, allocations: 59.36 kB / 374.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.0442, allocations: 174.2 kB / 374.8 MB, free: 6.301 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04421, allocations: 0 / 374.8 MB, free: 6.301 MB / 346.7 MB Notification: Performance of Templates: time 0.01088/0.05509, allocations: 8.258 MB / 383 MB, free: 14.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2342155016958714]