Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001363/0.001363, 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.001728/0.001728, 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.037/1.037, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.0263/0.0263, allocations: 6.481 MB / 267.5 MB, free: 6.473 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 339.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.103e-05, allocations: 4.844 kB / 339.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.007233/0.007264, allocations: 5.015 MB / 344.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.01017, allocations: 1.596 MB / 345.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.01066, allocations: 19.88 kB / 345.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.01108, allocations: 202.5 kB / 346.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.01173, allocations: 301.9 kB / 346.4 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.01237, allocations: 367.3 kB / 346.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009264/0.0133, allocations: 0.9739 MB / 347.8 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.01371, allocations: 311.5 kB / 348.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007451/0.01446, allocations: 0.5651 MB / 348.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.01486, allocations: 343.1 kB / 349 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.01497, allocations: 107.9 kB / 349.1 MB, free: 1.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.01515, allocations: 147.9 kB / 349.2 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.0153, allocations: 215.2 kB / 349.4 MB, free: 1.387 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.01551, allocations: 287.3 kB / 349.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007765/0.01629, allocations: 0.6695 MB / 350.4 MB, free: 444 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01629, allocations: 0 / 350.4 MB, free: 444 kB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01629, allocations: 0 / 350.4 MB, free: 444 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.01631, allocations: 0 / 350.4 MB, free: 444 kB / 314.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.001342/0.01765, allocations: 1.242 MB / 351.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.01769, allocations: 12.03 kB / 351.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.01785, allocations: 152.3 kB / 351.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.01832, allocations: 462 kB / 352.2 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.62e-05/0.01841, allocations: 105.3 kB / 352.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.01849, allocations: 76.33 kB / 352.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.01912, allocations: 0.6047 MB / 353 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.01914, allocations: 4 kB / 353 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.01918, allocations: 24 kB / 353 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01919, allocations: 19.94 kB / 353.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.0195, allocations: 256.4 kB / 353.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.02172, allocations: 2.231 MB / 355.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.02212, allocations: 278.8 kB / 355.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.02223, allocations: 127.6 kB / 355.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.02226, allocations: 12.27 kB / 355.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.02252, allocations: 292.7 kB / 356.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.583e-06/0.02252, allocations: 0 / 356.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006554/0.02318, allocations: 0.5182 MB / 356.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.02324, allocations: 140.5 kB / 356.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.02359, allocations: 490.3 kB / 357.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.02362, allocations: 33.7 kB / 357.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.02386, allocations: 439 kB / 357.8 MB, free: 8.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.02393, allocations: 123 kB / 357.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.02406, allocations: 103.8 kB / 358 MB, free: 8.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.02424, allocations: 0.5429 MB / 358.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.02438, allocations: 162.7 kB / 358.7 MB, free: 7.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.0246, allocations: 342.6 kB / 359.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.02493, allocations: 444.8 kB / 359.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.02494, allocations: 0 / 359.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005369/0.02547, allocations: 0.5552 MB / 360.1 MB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.02553, allocations: 93.53 kB / 360.2 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.02553, allocations: 8 kB / 360.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.02565, allocations: 19.69 kB / 360.2 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.02586, allocations: 95.88 kB / 360.3 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009365/0.0268, allocations: 1.725 MB / 362 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.02704, allocations: 67.83 kB / 362.1 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.02707, allocations: 20 kB / 362.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002365/0.02731, allocations: 280.9 kB / 362.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002246/0.02753, allocations: 334.6 kB / 362.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003316/0.02786, allocations: 446.9 kB / 363.1 MB, free: 2.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.02786, allocations: 3.938 kB / 363.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0004999/0.02836, allocations: 0.5493 MB / 363.7 MB, free: 1.996 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.02841, allocations: 96.06 kB / 363.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.02842, allocations: 7.938 kB / 363.8 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.058e-05/0.0285, allocations: 24.11 kB / 363.8 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.02869, allocations: 99.83 kB / 363.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007736/0.02946, allocations: 1.713 MB / 365.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.02967, allocations: 63.83 kB / 365.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.0297, allocations: 20 kB / 365.7 MB, free: 15.84 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.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.0002362/0.02994, allocations: 367.2 kB / 366.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.03001, allocations: 67.67 kB / 366.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.03043, allocations: 410 kB / 366.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.03043, allocations: 4 kB / 366.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.03044, allocations: 3.938 kB / 366.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.03044, allocations: 0 / 366.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.03132, allocations: 0.8721 MB / 367.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.03133, allocations: 0 / 367.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.03149, allocations: 51.97 kB / 367.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.145e-05/0.03155, allocations: 23.61 kB / 367.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.03158, allocations: 27.97 kB / 367.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007323/0.03231, allocations: 1.693 MB / 369.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.03231, allocations: 4 kB / 369.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.03295, allocations: 0.6863 MB / 369.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.03307, allocations: 95.5 kB / 370 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.03311, allocations: 8 kB / 370 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.03328, allocations: 31.97 kB / 370 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.03336, allocations: 40 kB / 370.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.03338, allocations: 8 kB / 370.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.03358, allocations: 310.6 kB / 370.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03358, allocations: 0 / 370.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006133/0.03419, allocations: 303 kB / 370.7 MB, free: 10.57 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.0007551/0.03495, allocations: 345 kB / 371 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.03604, allocations: 1.286 MB / 372.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03605, allocations: 0 / 372.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.03632, allocations: 452 kB / 372.7 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.03668, allocations: 90.5 kB / 372.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.03844, allocations: 1.179 MB / 374 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.03853, allocations: 137.7 kB / 374.1 MB, free: 6.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.0387, allocations: 63.22 kB / 374.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.03893, allocations: 170.2 kB / 374.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03893, allocations: 0 / 374.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of Templates: time 0.01148/0.05041, allocations: 7.789 MB / 382.2 MB, free: 14.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1747866170480847]