Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.002033/0.002033, 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.002673/0.002673, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.04531/0.04531, allocations: 6.47 MB / 266 MB, free: 6.668 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 337.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.521e-05, allocations: 4.844 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.005149/0.005174, allocations: 4.793 MB / 342.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003092/0.008266, allocations: 2.298 MB / 344.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.008712, allocations: 15.94 kB / 344.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.009201, allocations: 222.3 kB / 344.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007262/0.009927, allocations: 341.7 kB / 345 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.01072, allocations: 0.5028 MB / 345.5 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007589/0.01148, allocations: 1.067 MB / 346.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.01189, allocations: 320.5 kB / 346.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006022/0.0125, allocations: 0.6119 MB / 347.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.01287, allocations: 354.9 kB / 347.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.01299, allocations: 116 kB / 348 MB, free: 488 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.01328, allocations: 243.8 kB / 348.2 MB, free: 244 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.01349, allocations: 267.2 kB / 348.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.01389, allocations: 327.1 kB / 348.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.01594, allocations: 1.418 MB / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01594, allocations: 0 / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01594, allocations: 0 / 350.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.01596, allocations: 0 / 350.2 MB, free: 14.23 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002591/0.01855, allocations: 1.298 MB / 351.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01859, allocations: 8.031 kB / 351.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.0189, allocations: 168.3 kB / 351.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.02006, allocations: 0.5947 MB / 352.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.02025, allocations: 114 kB / 352.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.02039, allocations: 80.33 kB / 352.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.02218, allocations: 0.8919 MB / 353.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.02221, allocations: 11.94 kB / 353.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.02229, allocations: 28 kB / 353.4 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.02231, allocations: 16 kB / 353.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.02385, allocations: 0.5706 MB / 354 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.02834, allocations: 2.359 MB / 356.3 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.02967, allocations: 424.2 kB / 356.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.03022, allocations: 224.4 kB / 357 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.03026, allocations: 8.281 kB / 357 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008011/0.03106, allocations: 393.6 kB / 357.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.843e-06/0.03106, allocations: 0 / 357.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002145/0.03321, allocations: 0.8005 MB / 358.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.03337, allocations: 203.7 kB / 358.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.03465, allocations: 0.797 MB / 359.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.936e-05/0.03472, allocations: 37.7 kB / 359.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.03516, allocations: 424.4 kB / 359.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.03532, allocations: 138.8 kB / 359.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.03552, allocations: 98.34 kB / 359.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.03577, allocations: 378.8 kB / 360.2 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.0364, allocations: 284.5 kB / 360.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008063/0.03721, allocations: 496.6 kB / 361 MB, free: 2.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.03846, allocations: 0.6065 MB / 361.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.03846, allocations: 0 / 361.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0018/0.04026, allocations: 0.8321 MB / 362.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.04037, allocations: 105.1 kB / 362.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.04037, allocations: 0 / 362.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.04056, allocations: 28.84 kB / 362.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.04105, allocations: 107.8 kB / 362.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.04251, allocations: 1.264 MB / 363.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.04312, allocations: 83.61 kB / 364 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.04318, allocations: 20 kB / 364 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001127/0.0443, allocations: 482.4 kB / 364.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007722/0.04508, allocations: 496.5 kB / 365 MB, free: 14.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001173/0.04625, allocations: 0.5869 MB / 365.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.04625, allocations: 0 / 365.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001769/0.04802, allocations: 0.8044 MB / 366.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.872e-05/0.04811, allocations: 93.09 kB / 366.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.04812, allocations: 4.438 kB / 366.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.04823, allocations: 20.86 kB / 366.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.04868, allocations: 107.8 kB / 366.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.04999, allocations: 1.26 MB / 367.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.05058, allocations: 71.89 kB / 367.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.05065, allocations: 27.98 kB / 367.9 MB, free: 11.31 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 (62): * Single equations (assignments): 58 * 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.0003177/0.05096, allocations: 272.5 kB / 368.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.05115, allocations: 91.47 kB / 368.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.05271, allocations: 0.6017 MB / 368.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.05271, allocations: 7.938 kB / 368.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.05272, allocations: 3.984 kB / 368.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.05272, allocations: 0 / 368.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.05527, allocations: 1.205 MB / 370.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.05528, allocations: 4 kB / 370.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.05567, allocations: 71.81 kB / 370.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.05578, allocations: 24.84 kB / 370.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.05583, allocations: 12 kB / 370.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.05718, allocations: 1.252 MB / 371.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.05718, allocations: 0 / 371.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.05942, allocations: 0.98 MB / 372.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.05973, allocations: 115.5 kB / 372.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.05982, allocations: 12 kB / 372.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.06029, allocations: 43.95 kB / 372.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.06043, allocations: 39.94 kB / 372.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.06046, allocations: 12 kB / 372.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009034/0.06137, allocations: 0.5615 MB / 373.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06137, allocations: 0 / 373.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001189/0.06255, allocations: 370.8 kB / 373.6 MB, free: 5.363 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.003653/0.06621, allocations: 0.7539 MB / 374.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.06919, allocations: 1.472 MB / 375.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.0692, allocations: 0 / 375.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.0701, allocations: 480.6 kB / 376.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.0709, allocations: 137.7 kB / 376.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.07407, allocations: 1.511 MB / 377.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.07457, allocations: 376.2 kB / 378.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.07493, allocations: 84.36 kB / 378.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.0751, allocations: 48.48 kB / 378.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0751, allocations: 0 / 378.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of Templates: time 0.02102/0.09612, allocations: 9.495 MB / 387.9 MB, free: 7.195 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.989867998985574]