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.001463/0.001463, allocations: 88.72 kB / 19.44 MB, free: 356 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.001612/0.001612, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.04212/0.04212, allocations: 6.478 MB / 266 MB, free: 6.645 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.916e-06/2.916e-06, allocations: 0 / 337.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.58e-05, allocations: 2.312 kB / 337.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.006142/0.006178, allocations: 4.828 MB / 342.2 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.009694, allocations: 1.597 MB / 343.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.01024, allocations: 19.94 kB / 343.8 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.01076, allocations: 198.5 kB / 344 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.01148, allocations: 301.9 kB / 344.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.01211, allocations: 375.3 kB / 344.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007456/0.01285, allocations: 0.9857 MB / 345.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.01334, allocations: 356.4 kB / 346 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000573/0.01391, allocations: 0.5808 MB / 346.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.01423, allocations: 319 kB / 346.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01434, allocations: 108 kB / 347 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.01453, allocations: 151.9 kB / 347.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.01468, allocations: 219.2 kB / 347.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.01492, allocations: 299.2 kB / 347.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.01628, allocations: 1.168 MB / 348.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01628, allocations: 0 / 348.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01629, allocations: 0 / 348.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.01631, allocations: 4 kB / 348.8 MB, free: 15.6 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002641/0.01896, allocations: 1.157 MB / 350 MB, free: 14.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.019, allocations: 8.031 kB / 350 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.01932, allocations: 156.4 kB / 350.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.02033, allocations: 471.2 kB / 350.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.02052, allocations: 114 kB / 350.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.02066, allocations: 76.38 kB / 350.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.02249, allocations: 0.8413 MB / 351.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.02252, allocations: 11.94 kB / 351.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.0226, allocations: 28 kB / 351.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.02262, allocations: 16 kB / 351.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.02418, allocations: 0.5928 MB / 352.3 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004825/0.029, allocations: 2.273 MB / 354.5 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.03021, allocations: 424.2 kB / 355 MB, free: 9.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/0.03074, allocations: 232.4 kB / 355.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.03079, allocations: 8.281 kB / 355.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007999/0.03159, allocations: 389.7 kB / 355.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.03159, allocations: 4 kB / 355.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002185/0.03378, allocations: 0.8044 MB / 356.4 MB, free: 7.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.03391, allocations: 140.4 kB / 356.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008317/0.03474, allocations: 0.5214 MB / 357 MB, free: 6.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.0348, allocations: 37.7 kB / 357.1 MB, free: 6.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.03523, allocations: 380.4 kB / 357.4 MB, free: 6.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.03538, allocations: 126.9 kB / 357.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.03558, allocations: 98.12 kB / 357.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.03583, allocations: 362.8 kB / 358 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.03643, allocations: 271.9 kB / 358.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/0.03718, allocations: 421.3 kB / 358.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.03841, allocations: 0.5999 MB / 359.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.03842, allocations: 4 kB / 359.3 MB, free: 4.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001733/0.04015, allocations: 0.7821 MB / 360.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.04025, allocations: 93.09 kB / 360.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.04027, allocations: 7.984 kB / 360.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.0405, allocations: 25.2 kB / 360.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.04094, allocations: 103.9 kB / 360.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.04246, allocations: 1.256 MB / 361.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.04299, allocations: 87.77 kB / 361.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.04304, allocations: 20 kB / 361.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008206/0.04386, allocations: 430.1 kB / 362.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006627/0.04452, allocations: 400.1 kB / 362.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001123/0.04564, allocations: 0.5826 MB / 363.1 MB, free: 420 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.249e-06/0.04565, allocations: 4 kB / 363.1 MB, free: 416 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001553/0.0472, allocations: 0.7576 MB / 363.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.04729, allocations: 93.09 kB / 363.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.04729, allocations: 4 kB / 363.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.0474, allocations: 28.8 kB / 363.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.0478, allocations: 99.91 kB / 364 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.04901, allocations: 1.268 MB / 365.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.04948, allocations: 67.73 kB / 365.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.04952, allocations: 20 kB / 365.4 MB, free: 13.9 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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.0003007/0.04982, allocations: 284.5 kB / 365.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.04996, allocations: 71.62 kB / 365.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.05136, allocations: 0.5966 MB / 366.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.05137, allocations: 4 kB / 366.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.05137, allocations: 4 kB / 366.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.05138, allocations: 3.984 kB / 366.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.0536, allocations: 1.112 MB / 367.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.0536, allocations: 0 / 367.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.05398, allocations: 75.88 kB / 367.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.05409, allocations: 16.86 kB / 367.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.05413, allocations: 15.92 kB / 367.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.05561, allocations: 1.244 MB / 368.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.05561, allocations: 4.156 kB / 368.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.05765, allocations: 0.976 MB / 369.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.05789, allocations: 91.7 kB / 369.9 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.05796, allocations: 12 kB / 369.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.05838, allocations: 47.92 kB / 369.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.05852, allocations: 35.94 kB / 370 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.05857, allocations: 12 kB / 370 MB, free: 9.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005244/0.05909, allocations: 366.9 kB / 370.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.05909, allocations: 4 kB / 370.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009974/0.06009, allocations: 318.8 kB / 370.7 MB, free: 8.352 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,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.001702/0.06179, allocations: 393.3 kB / 371 MB, free: 8.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.06453, allocations: 1.455 MB / 372.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.06454, allocations: 0 / 372.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.06535, allocations: 476.7 kB / 373 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.06599, allocations: 95.81 kB / 373.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.06855, allocations: 1.297 MB / 374.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.06896, allocations: 325.6 kB / 374.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.06926, allocations: 71.2 kB / 374.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.06938, allocations: 32.5 kB / 374.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.06939, allocations: 0 / 374.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of Templates: time 0.01593/0.08531, allocations: 7.112 MB / 381.9 MB, free: 13.08 MB / 314.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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.660121682099998]