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.0009862/0.0009862, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001164/0.001164, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.078/1.078, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.03333/0.03333, allocations: 6.465 MB / 266.7 MB, free: 6.723 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.844e-06/1.844e-06, allocations: 0 / 338.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.319e-05, allocations: 2.312 kB / 338.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.004025/0.004049, allocations: 4.383 MB / 342.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.006599, allocations: 2.376 MB / 344.8 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.006975, allocations: 15.94 kB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.007347, allocations: 162.6 kB / 345 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.007875, allocations: 285.9 kB / 345.3 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.008369, allocations: 431.2 kB / 345.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005816/0.00895, allocations: 0.9739 MB / 346.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.009308, allocations: 345 kB / 347 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.009855, allocations: 0.5731 MB / 347.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.01015, allocations: 327 kB / 347.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.136e-05/0.01022, allocations: 108 kB / 348 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.01034, allocations: 139.9 kB / 348.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.01048, allocations: 251.2 kB / 348.4 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.01064, allocations: 319.2 kB / 348.7 MB, free: 464 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.01123, allocations: 0.7085 MB / 349.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01123, allocations: 0 / 349.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01123, allocations: 0 / 349.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.01124, allocations: 4 kB / 349.4 MB, free: 15.74 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001373/0.01261, allocations: 1.272 MB / 350.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.01267, allocations: 16.03 kB / 350.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.01288, allocations: 156.3 kB / 350.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.01348, allocations: 0.4902 MB / 351.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.01353, allocations: 58.38 kB / 351.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.67e-05/0.01361, allocations: 80.27 kB / 351.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/0.01438, allocations: 0.6742 MB / 352.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.01441, allocations: 7.938 kB / 352.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.01445, allocations: 32 kB / 352.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.01446, allocations: 16 kB / 352.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.01491, allocations: 319.1 kB / 352.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.0172, allocations: 2.339 MB / 354.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.01765, allocations: 282.7 kB / 355.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.0178, allocations: 144.2 kB / 355.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.01784, allocations: 8 kB / 355.3 MB, free: 9.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.01813, allocations: 309.3 kB / 355.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.01813, allocations: 0 / 355.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.000712/0.01884, allocations: 0.5632 MB / 356.2 MB, free: 8.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.01889, allocations: 136.5 kB / 356.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.01931, allocations: 0.5143 MB / 356.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.01934, allocations: 33.7 kB / 356.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.01955, allocations: 458.9 kB / 357.3 MB, free: 7.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.01962, allocations: 130.9 kB / 357.4 MB, free: 7.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01972, allocations: 103.7 kB / 357.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.01987, allocations: 0.5391 MB / 358.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.02004, allocations: 182.7 kB / 358.2 MB, free: 6.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.02027, allocations: 350.7 kB / 358.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.02065, allocations: 472.7 kB / 359 MB, free: 5.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.02065, allocations: 7.938 kB / 359 MB, free: 5.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005619/0.02121, allocations: 0.5907 MB / 359.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.02126, allocations: 97.16 kB / 359.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.02127, allocations: 4 kB / 359.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.0214, allocations: 23.67 kB / 359.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.0216, allocations: 95.83 kB / 359.9 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007746/0.02237, allocations: 1.736 MB / 361.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.02256, allocations: 67.66 kB / 361.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.02259, allocations: 20 kB / 361.7 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002515/0.02284, allocations: 300.9 kB / 362 MB, free: 2.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002232/0.02306, allocations: 354.6 kB / 362.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003549/0.02342, allocations: 475 kB / 362.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.594e-06/0.02342, allocations: 3.984 kB / 362.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005461/0.02397, allocations: 0.5728 MB / 363.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.02401, allocations: 97.03 kB / 363.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.02401, allocations: 4 kB / 363.5 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.468e-05/0.02409, allocations: 32.05 kB / 363.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.02427, allocations: 91.89 kB / 363.6 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007674/0.02504, allocations: 1.74 MB / 365.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.02521, allocations: 55.89 kB / 365.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.02524, allocations: 23.98 kB / 365.4 MB, free: 14.5 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * 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.0001632/0.0254, allocations: 359.3 kB / 365.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.02547, allocations: 71.62 kB / 365.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.02592, allocations: 428.9 kB / 366.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02592, allocations: 4 kB / 366.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.02593, allocations: 3.984 kB / 366.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.02593, allocations: 3.938 kB / 366.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.02687, allocations: 1.024 MB / 367.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.02687, allocations: 3.984 kB / 367.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.02703, allocations: 59.84 kB / 367.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/0.02708, allocations: 19.62 kB / 367.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.02711, allocations: 15.97 kB / 367.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/0.02775, allocations: 1.732 MB / 369.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.02775, allocations: 4 kB / 369.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.02836, allocations: 0.7055 MB / 369.8 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.02842, allocations: 63.59 kB / 369.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.02846, allocations: 8 kB / 369.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.0286, allocations: 32.06 kB / 369.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.02869, allocations: 47.83 kB / 370 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.02871, allocations: 11.98 kB / 370 MB, free: 9.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.02896, allocations: 334.8 kB / 370.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02896, allocations: 0 / 370.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005077/0.02946, allocations: 338.8 kB / 370.6 MB, free: 8.953 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,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.0007609/0.03022, allocations: 351.3 kB / 371 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.03123, allocations: 1.306 MB / 372.3 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.03124, allocations: 0 / 372.3 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.03153, allocations: 467.8 kB / 372.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.03187, allocations: 91.12 kB / 372.8 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.03356, allocations: 1.246 MB / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.03365, allocations: 153.7 kB / 374.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.0338, allocations: 59.34 kB / 374.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.03389, allocations: 48.48 kB / 374.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03389, allocations: 0 / 374.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of Templates: time 0.01086/0.04474, allocations: 7.595 MB / 381.9 MB, free: 13.55 MB / 314.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.2204354989808053]