Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001443/0.001443, allocations: 93.06 kB / 19.65 MB, free: 276 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.001758/0.001758, allocations: 169 kB / 23.02 MB, free: 1.547 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.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02523/0.02523, allocations: 6.494 MB / 266.4 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.761e-05, allocations: 6.312 kB / 338.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.004994/0.005011, allocations: 4.419 MB / 342.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.007623, allocations: 2.38 MB / 344.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.007983, allocations: 19.88 kB / 344.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.008388, allocations: 170.6 kB / 345.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.00906, allocations: 289.8 kB / 345.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.009634, allocations: 427.2 kB / 345.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.01037, allocations: 0.9817 MB / 346.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.01073, allocations: 345 kB / 347.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.01132, allocations: 0.5769 MB / 347.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.01169, allocations: 319.1 kB / 348 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.01179, allocations: 111.9 kB / 348.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.01194, allocations: 151.8 kB / 348.2 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.01211, allocations: 247.2 kB / 348.5 MB, free: 332 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.01231, allocations: 311.2 kB / 348.8 MB, free: 20 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000816/0.01312, allocations: 0.7164 MB / 349.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.01312, allocations: 0 / 349.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01313, allocations: 0 / 349.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.01314, allocations: 4 kB / 349.5 MB, free: 15.29 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001483/0.01463, allocations: 1.272 MB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.322e-05/0.01465, allocations: 8.031 kB / 350.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.01482, allocations: 164.3 kB / 350.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.01533, allocations: 0.4902 MB / 351.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.01537, allocations: 62.36 kB / 351.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.01545, allocations: 84.33 kB / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.01625, allocations: 0.6741 MB / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.01627, allocations: 7.938 kB / 352.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.01631, allocations: 32 kB / 352.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.01633, allocations: 16 kB / 352.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.01678, allocations: 323.1 kB / 352.6 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.01921, allocations: 2.362 MB / 355 MB, free: 9.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.01964, allocations: 286.7 kB / 355.3 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01977, allocations: 140.2 kB / 355.4 MB, free: 9.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.0198, allocations: 7.938 kB / 355.4 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.02007, allocations: 305.4 kB / 355.7 MB, free: 8.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.02007, allocations: 4 kB / 355.7 MB, free: 8.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006629/0.02073, allocations: 0.5592 MB / 356.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.02079, allocations: 136.5 kB / 356.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.02128, allocations: 0.5142 MB / 356.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.02131, allocations: 37.7 kB / 356.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.02157, allocations: 458.9 kB / 357.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.02165, allocations: 123 kB / 357.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.02176, allocations: 103.8 kB / 357.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002789/0.02204, allocations: 0.5469 MB / 358.2 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.0222, allocations: 174.7 kB / 358.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.02242, allocations: 357.7 kB / 358.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.02278, allocations: 476.7 kB / 359.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02278, allocations: 0 / 359.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006901/0.02347, allocations: 0.5943 MB / 359.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.02351, allocations: 93.09 kB / 359.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.02351, allocations: 0 / 359.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.02361, allocations: 31.67 kB / 359.9 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.02381, allocations: 96.27 kB / 360 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007846/0.02459, allocations: 1.74 MB / 361.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.0248, allocations: 59.72 kB / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.02482, allocations: 23.98 kB / 361.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002654/0.02509, allocations: 296.9 kB / 362.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002224/0.02531, allocations: 354.8 kB / 362.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006341/0.02594, allocations: 466.9 kB / 362.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.02595, allocations: 0 / 362.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005082/0.02645, allocations: 0.5887 MB / 363.5 MB, free: 212 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.02649, allocations: 93.09 kB / 363.6 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.02649, allocations: 4 kB / 363.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.27e-05/0.02655, allocations: 31.56 kB / 363.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.02673, allocations: 87.89 kB / 363.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006554/0.02739, allocations: 1.74 MB / 365.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.02757, allocations: 63.75 kB / 365.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.02759, allocations: 20 kB / 365.5 MB, free: 14.03 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.0001598/0.02775, allocations: 365.9 kB / 365.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.02782, allocations: 71.62 kB / 365.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.02825, allocations: 433 kB / 366.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.02826, allocations: 4 kB / 366.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.02826, allocations: 3.938 kB / 366.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02826, allocations: 3.984 kB / 366.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009165/0.02918, allocations: 1.013 MB / 367.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02918, allocations: 3.938 kB / 367.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.02933, allocations: 47.97 kB / 367.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.02939, allocations: 27.61 kB / 367.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.02941, allocations: 16 kB / 367.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/0.03006, allocations: 1.736 MB / 369.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03006, allocations: 3.984 kB / 369.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.03121, allocations: 0.7055 MB / 369.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.03127, allocations: 67.72 kB / 370 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.0313, allocations: 8 kB / 370 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.03144, allocations: 27.98 kB / 370 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.03152, allocations: 43.88 kB / 370.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.03153, allocations: 8 kB / 370.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002474/0.03178, allocations: 342.7 kB / 370.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03178, allocations: 0 / 370.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.03231, allocations: 334.8 kB / 370.7 MB, free: 8.484 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.0007008/0.03301, allocations: 337.9 kB / 371.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009117/0.03392, allocations: 1.313 MB / 372.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03392, allocations: 4 kB / 372.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.03418, allocations: 467.5 kB / 372.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.03448, allocations: 88.52 kB / 372.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.03602, allocations: 1.266 MB / 374.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.03612, allocations: 153.7 kB / 374.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.03626, allocations: 63.36 kB / 374.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.03633, allocations: 40.48 kB / 374.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03633, allocations: 0 / 374.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of Templates: time 0.0137/0.05003, allocations: 7.831 MB / 382.3 MB, free: 12.83 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1682401318103075]