Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001438/0.001438, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001679/0.001679, allocations: 169 kB / 23.27 MB, free: 1.223 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.011/1.011, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.03415/0.03415, allocations: 6.498 MB / 266.8 MB, free: 6.477 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.397e-05, allocations: 10.25 kB / 338.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.008225/0.008259, allocations: 5.042 MB / 343.6 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.01143, allocations: 2.329 MB / 345.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.01179, allocations: 19.94 kB / 345.9 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.01225, allocations: 218.4 kB / 346.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.01293, allocations: 349.6 kB / 346.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.01362, allocations: 0.4951 MB / 347 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009677/0.01459, allocations: 1.079 MB / 348.1 MB, free: 2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/0.01501, allocations: 328.5 kB / 348.4 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007531/0.01577, allocations: 0.6159 MB / 349 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.01622, allocations: 370.9 kB / 349.4 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01633, allocations: 116 kB / 349.5 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.01666, allocations: 247.7 kB / 349.7 MB, free: 332 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.01686, allocations: 275.1 kB / 350 MB, free: 56 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.01711, allocations: 323.2 kB / 350.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009742/0.01809, allocations: 0.8642 MB / 351.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.01809, allocations: 0 / 351.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01809, allocations: 3.938 kB / 351.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.01811, allocations: 0 / 351.2 MB, free: 14.87 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001537/0.01964, allocations: 1.402 MB / 352.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.01969, allocations: 12.03 kB / 352.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.01989, allocations: 168.3 kB / 352.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.02047, allocations: 0.5312 MB / 353.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.02056, allocations: 114 kB / 353.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.02064, allocations: 76.33 kB / 353.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.0213, allocations: 0.6981 MB / 354.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.02132, allocations: 11.92 kB / 354.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.02136, allocations: 28 kB / 354.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.02137, allocations: 16 kB / 354.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.02164, allocations: 262.4 kB / 354.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.02373, allocations: 2.333 MB / 356.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.02409, allocations: 282.7 kB / 357.1 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.02419, allocations: 127.6 kB / 357.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.02423, allocations: 12.27 kB / 357.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.02447, allocations: 292.7 kB / 357.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.02447, allocations: 0 / 357.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.000612/0.02509, allocations: 0.5337 MB / 358 MB, free: 7.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.02517, allocations: 191.9 kB / 358.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.02566, allocations: 0.628 MB / 358.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.0257, allocations: 33.7 kB / 358.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.02596, allocations: 0.4911 MB / 359.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.02604, allocations: 126.9 kB / 359.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02617, allocations: 115.9 kB / 359.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.02636, allocations: 0.5585 MB / 360.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.02649, allocations: 163.4 kB / 360.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.02672, allocations: 415.5 kB / 360.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.02705, allocations: 463.5 kB / 361.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.02706, allocations: 0 / 361.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005461/0.0276, allocations: 0.5889 MB / 361.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.02767, allocations: 99.89 kB / 361.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.02768, allocations: 7.984 kB / 361.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.0278, allocations: 23.69 kB / 361.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.02801, allocations: 103.8 kB / 362 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/0.02882, allocations: 1.725 MB / 363.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.02903, allocations: 67.64 kB / 363.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.02905, allocations: 23.98 kB / 363.8 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002126/0.02927, allocations: 285.2 kB / 364.1 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002174/0.02948, allocations: 415.5 kB / 364.5 MB, free: 480 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003126/0.0298, allocations: 455.4 kB / 364.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.155e-06/0.0298, allocations: 4 kB / 364.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0004983/0.0303, allocations: 0.5885 MB / 365.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.03034, allocations: 93.09 kB / 365.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.03034, allocations: 8.375 kB / 365.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.984e-05/0.0304, allocations: 27.67 kB / 365.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.0306, allocations: 99.89 kB / 365.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006878/0.03129, allocations: 1.724 MB / 367.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.03148, allocations: 63.84 kB / 367.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.0315, allocations: 23.98 kB / 367.6 MB, free: 13.12 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 (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.0001709/0.03168, allocations: 363.3 kB / 367.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.03175, allocations: 79.58 kB / 368 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.03213, allocations: 415.2 kB / 368.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.03214, allocations: 4 kB / 368.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.03214, allocations: 0 / 368.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.03215, allocations: 7.984 kB / 368.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/0.03302, allocations: 0.954 MB / 369.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.03302, allocations: 0 / 369.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.03317, allocations: 63.91 kB / 369.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.835e-05/0.03323, allocations: 23.67 kB / 369.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.03325, allocations: 8 kB / 369.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007235/0.03398, allocations: 1.713 MB / 371.2 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.03398, allocations: 0 / 371.2 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.03454, allocations: 0.7018 MB / 371.9 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.03466, allocations: 103.5 kB / 372 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.0347, allocations: 15.98 kB / 372 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.03487, allocations: 40.03 kB / 372 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.03494, allocations: 31.94 kB / 372.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.03495, allocations: 12 kB / 372.1 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002488/0.0352, allocations: 390.9 kB / 372.5 MB, free: 7.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0352, allocations: 0 / 372.5 MB, free: 7.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005709/0.03577, allocations: 374.8 kB / 372.8 MB, free: 7.555 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.001364/0.03714, allocations: 0.6827 MB / 373.5 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008648/0.038, allocations: 1.297 MB / 374.8 MB, free: 5.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.03801, allocations: 4 kB / 374.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.03825, allocations: 447.6 kB / 375.2 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.03862, allocations: 122.2 kB / 375.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.04023, allocations: 1.348 MB / 376.7 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.04034, allocations: 162 kB / 376.9 MB, free: 3.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.04052, allocations: 84.34 kB / 377 MB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.04079, allocations: 202.1 kB / 377.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04079, allocations: 0 / 377.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of Templates: time 0.0125/0.05329, allocations: 10.24 MB / 387.4 MB, free: 9.086 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.163486941717565]