Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.0009812/0.0009812, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001005/0.001005, allocations: 173 kB / 23.5 MB, free: 1.051 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 0.961/0.961, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.02581/0.02581, allocations: 6.483 MB / 266.8 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 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 338.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.861e-05, allocations: 6.25 kB / 338.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.005338/0.005356, allocations: 5.131 MB / 343.2 MB, free: 7.004 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.008365, allocations: 2.333 MB / 345.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000357/0.008722, allocations: 19.88 kB / 345.6 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.009171, allocations: 202.6 kB / 345.8 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005847/0.009756, allocations: 297.9 kB / 346.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.01024, allocations: 383.2 kB / 346.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.01089, allocations: 0.9778 MB / 347.4 MB, free: 2.797 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.01126, allocations: 311.5 kB / 347.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008111/0.01207, allocations: 0.573 MB / 348.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.01241, allocations: 351 kB / 348.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.582e-05/0.01249, allocations: 108 kB / 348.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.01271, allocations: 207.8 kB / 348.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.01285, allocations: 219.2 kB / 349.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.01304, allocations: 299.2 kB / 349.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000686/0.01373, allocations: 0.7474 MB / 350.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01373, allocations: 0 / 350.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01373, allocations: 0 / 350.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.01374, allocations: 0 / 350.2 MB, free: 15.99 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001272/0.01501, allocations: 1.258 MB / 351.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.01505, allocations: 12.03 kB / 351.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.01521, allocations: 148.4 kB / 351.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.0157, allocations: 470 kB / 352.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.412e-05/0.0158, allocations: 113.3 kB / 352.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.01587, allocations: 76.33 kB / 352.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.01665, allocations: 0.692 MB / 353 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.01667, allocations: 0 / 353 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.01671, allocations: 28 kB / 353 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.01673, allocations: 16 kB / 353 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.01718, allocations: 315 kB / 353.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.02008, allocations: 2.34 MB / 355.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.02361, allocations: 295.8 kB / 355.9 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.0238, allocations: 147.6 kB / 356.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.02383, allocations: 4.281 kB / 356.1 MB, free: 9.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.02417, allocations: 312.7 kB / 356.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.02418, allocations: 0 / 356.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008639/0.02504, allocations: 0.5573 MB / 356.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.02511, allocations: 178.1 kB / 357.1 MB, free: 8.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.0256, allocations: 0.4947 MB / 357.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.02563, allocations: 41.64 kB / 357.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.02587, allocations: 423.2 kB / 358.1 MB, free: 7.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.02596, allocations: 134.8 kB / 358.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.0261, allocations: 103.8 kB / 358.3 MB, free: 7.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.02627, allocations: 0.5352 MB / 358.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.0295, allocations: 174.7 kB / 359 MB, free: 6.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.02982, allocations: 392.1 kB / 359.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.03031, allocations: 476.9 kB / 359.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.03031, allocations: 0 / 359.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007424/0.03105, allocations: 0.5981 MB / 360.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.03111, allocations: 93.53 kB / 360.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.03111, allocations: 11.94 kB / 360.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.03126, allocations: 19.69 kB / 360.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.03154, allocations: 99.81 kB / 360.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.0356, allocations: 1.732 MB / 362.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.03584, allocations: 71.78 kB / 362.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.03589, allocations: 24 kB / 362.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003136/0.0362, allocations: 296.9 kB / 362.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003236/0.03652, allocations: 392 kB / 363.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004706/0.03699, allocations: 475 kB / 363.6 MB, free: 1.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.037, allocations: 3.938 kB / 363.6 MB, free: 1.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007186/0.03772, allocations: 0.5961 MB / 364.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.03776, allocations: 93.88 kB / 364.3 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.03777, allocations: 7.984 kB / 364.3 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-05/0.03784, allocations: 24.12 kB / 364.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.03809, allocations: 95.89 kB / 364.4 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/0.04188, allocations: 1.739 MB / 366.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.04212, allocations: 59.75 kB / 366.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.04215, allocations: 24.12 kB / 366.3 MB, free: 14.6 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: 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 (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.0001776/0.04233, allocations: 355.4 kB / 366.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.04241, allocations: 71.62 kB / 366.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.04299, allocations: 445.9 kB / 367.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.043, allocations: 4 kB / 367.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.043, allocations: 0 / 367.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.043, allocations: 0 / 367.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.04416, allocations: 1.016 MB / 368.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.04416, allocations: 0 / 368.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/0.04738, allocations: 59.91 kB / 368.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.455e-05/0.04745, allocations: 19.67 kB / 368.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.04748, allocations: 16 kB / 368.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/0.04842, allocations: 1.736 MB / 370 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04842, allocations: 0 / 370 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.04923, allocations: 0.7333 MB / 370.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.04937, allocations: 91.5 kB / 370.8 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.04941, allocations: 12 kB / 370.8 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.04962, allocations: 31.97 kB / 370.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.04972, allocations: 35.94 kB / 370.9 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.04975, allocations: 16.06 kB / 370.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003029/0.05005, allocations: 330.8 kB / 371.2 MB, free: 9.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05005, allocations: 0 / 371.2 MB, free: 9.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003703/0.05375, allocations: 330.9 kB / 371.5 MB, free: 9.016 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,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.001019/0.05477, allocations: 459.9 kB / 372 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.05596, allocations: 1.328 MB / 373.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.05596, allocations: 0 / 373.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00336/0.05932, allocations: 469 kB / 373.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.05976, allocations: 109.5 kB / 373.9 MB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.06156, allocations: 1.176 MB / 375.1 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.06167, allocations: 145.7 kB / 375.2 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000192/0.06186, allocations: 55.25 kB / 375.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.06196, allocations: 44.48 kB / 375.3 MB, free: 5.113 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.06196, allocations: 4 kB / 375.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of Templates: time 0.02071/0.08267, allocations: 7.866 MB / 383.2 MB, free: 13.33 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2634539529681206]