Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.000944/0.000944, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009678/0.0009678, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.053/1.053, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.02649/0.02649, allocations: 6.473 MB / 267.5 MB, free: 6.488 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.86e-05, allocations: 4.844 kB / 339.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.004515/0.004543, allocations: 5.015 MB / 344.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.007317, allocations: 2.333 MB / 346.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004711/0.007789, allocations: 19.94 kB / 346.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.008167, allocations: 202.5 kB / 346.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.008752, allocations: 289.9 kB / 347.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.009289, allocations: 383.3 kB / 347.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.009917, allocations: 0.9817 MB / 348.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.01025, allocations: 315.5 kB / 348.8 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005478/0.0108, allocations: 0.5691 MB / 349.4 MB, free: 376 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.01113, allocations: 343 kB / 349.7 MB, free: 32 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.01126, allocations: 108 kB / 349.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.01152, allocations: 223.7 kB / 350 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01167, allocations: 215.3 kB / 350.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.01188, allocations: 295.2 kB / 350.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007521/0.01263, allocations: 0.7358 MB / 351.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01263, allocations: 0 / 351.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01264, allocations: 0 / 351.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.01265, allocations: 0 / 351.3 MB, free: 14.47 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001246/0.01389, allocations: 1.261 MB / 352.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.01393, allocations: 12.03 kB / 352.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.01409, allocations: 152.3 kB / 352.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.01458, allocations: 458.1 kB / 353.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.01469, allocations: 109.3 kB / 353.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.01477, allocations: 84.3 kB / 353.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.01543, allocations: 0.6373 MB / 354 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01545, allocations: 0 / 354 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.01549, allocations: 28 kB / 354 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.0155, allocations: 20 kB / 354 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.01587, allocations: 260.3 kB / 354.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.01802, allocations: 2.238 MB / 356.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.01845, allocations: 267.7 kB / 356.8 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.01857, allocations: 127.3 kB / 356.9 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.01861, allocations: 12.28 kB / 356.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.01892, allocations: 304.9 kB / 357.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/0.01892, allocations: 0 / 357.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.000647/0.01957, allocations: 0.5106 MB / 357.7 MB, free: 7.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.01965, allocations: 166.2 kB / 357.9 MB, free: 7.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.02, allocations: 498.3 kB / 358.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.02003, allocations: 37.7 kB / 358.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.02027, allocations: 439.1 kB / 358.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.02034, allocations: 126.9 kB / 359 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.02046, allocations: 103.8 kB / 359.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.02063, allocations: 0.5507 MB / 359.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.02077, allocations: 154.7 kB / 359.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.02099, allocations: 368 kB / 360.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.02134, allocations: 456.7 kB / 360.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02135, allocations: 0 / 360.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005155/0.02186, allocations: 0.5591 MB / 361.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.02192, allocations: 93.09 kB / 361.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.02193, allocations: 4 kB / 361.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.02204, allocations: 24.11 kB / 361.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.02225, allocations: 99.83 kB / 361.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/0.02303, allocations: 1.725 MB / 363.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.02323, allocations: 59.66 kB / 363.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.02326, allocations: 24.11 kB / 363.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002108/0.02347, allocations: 284.9 kB / 363.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002057/0.02368, allocations: 372 kB / 363.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002933/0.02397, allocations: 447 kB / 364.2 MB, free: 412 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.02397, allocations: 0 / 364.2 MB, free: 412 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000487/0.02446, allocations: 0.5611 MB / 364.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.0245, allocations: 93.09 kB / 364.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.0245, allocations: 7.938 kB / 364.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.291e-05/0.02457, allocations: 19.69 kB / 364.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.02475, allocations: 91.89 kB / 365 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006807/0.02543, allocations: 1.717 MB / 366.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.02562, allocations: 59.75 kB / 366.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.02564, allocations: 16 kB / 366.8 MB, free: 13.66 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.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * 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.0001623/0.0258, allocations: 369.5 kB / 367.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.02587, allocations: 75.62 kB / 367.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.0263, allocations: 410 kB / 367.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.0263, allocations: 0 / 367.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.02631, allocations: 15.91 kB / 367.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.02631, allocations: 4 kB / 367.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.02717, allocations: 0.8954 MB / 368.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02717, allocations: 0 / 368.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.02733, allocations: 59.91 kB / 368.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-05/0.02739, allocations: 27.61 kB / 368.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.02741, allocations: 12 kB / 368.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006499/0.02806, allocations: 1.697 MB / 370.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02806, allocations: 4 kB / 370.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.02863, allocations: 0.6904 MB / 371 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.02874, allocations: 87.56 kB / 371.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.02878, allocations: 15.98 kB / 371.1 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.02894, allocations: 27.98 kB / 371.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.02901, allocations: 35.94 kB / 371.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.02903, allocations: 11.98 kB / 371.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.02923, allocations: 314.6 kB / 371.5 MB, free: 8.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02923, allocations: 4 kB / 371.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000561/0.02979, allocations: 334.8 kB / 371.8 MB, free: 8.305 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.0008791/0.03067, allocations: 462 kB / 372.3 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008542/0.03152, allocations: 1.286 MB / 373.6 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.03152, allocations: 0 / 373.6 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.03178, allocations: 451.5 kB / 374 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.03212, allocations: 90.89 kB / 374.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.03359, allocations: 1.179 MB / 375.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.654e-05/0.03368, allocations: 141.7 kB / 375.4 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.03384, allocations: 59.23 kB / 375.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.03407, allocations: 178.1 kB / 375.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.03407, allocations: 0 / 375.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of Templates: time 0.01105/0.04512, allocations: 8.649 MB / 384.3 MB, free: 11.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.164399758912623]