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.001516/0.001516, 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.001826/0.001826, 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.506/1.506, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.04118/0.04118, allocations: 6.486 MB / 266 MB, free: 6.629 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.916e-06/2.916e-06, allocations: 0 / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.328e-05, allocations: 6.312 kB / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.00588/0.005913, allocations: 4.823 MB / 342.2 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.009479, allocations: 2.29 MB / 344.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007587/0.01024, allocations: 19.94 kB / 344.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.01094, allocations: 230.3 kB / 344.7 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.01212, allocations: 341.7 kB / 345 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.01316, allocations: 0.495 MB / 345.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009621/0.01412, allocations: 1.075 MB / 346.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004278/0.01455, allocations: 324.5 kB / 346.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.01517, allocations: 0.6236 MB / 347.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.01556, allocations: 342.9 kB / 347.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.01566, allocations: 116 kB / 348 MB, free: 412 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.016, allocations: 247.8 kB / 348.2 MB, free: 164 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.01637, allocations: 271.1 kB / 348.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.01679, allocations: 327.2 kB / 348.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.01874, allocations: 1.414 MB / 350.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.01874, allocations: 4 kB / 350.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.01874, allocations: 4 kB / 350.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.01876, allocations: 0 / 350.2 MB, free: 14.15 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002728/0.02149, allocations: 1.306 MB / 351.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.02153, allocations: 8.031 kB / 351.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.02186, allocations: 168.3 kB / 351.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.02301, allocations: 0.5986 MB / 352.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.02318, allocations: 110 kB / 352.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.02333, allocations: 80.33 kB / 352.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.02506, allocations: 0.8997 MB / 353.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.02509, allocations: 7.938 kB / 353.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.02516, allocations: 32 kB / 353.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.02519, allocations: 16 kB / 353.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.02666, allocations: 0.5752 MB / 354 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.03113, allocations: 2.361 MB / 356.4 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.03233, allocations: 428.2 kB / 356.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.03285, allocations: 224.5 kB / 357 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.0329, allocations: 8.266 kB / 357 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007844/0.03369, allocations: 389.6 kB / 357.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.03369, allocations: 4 kB / 357.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002183/0.03587, allocations: 0.8044 MB / 358.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.03604, allocations: 199.7 kB / 358.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.03742, allocations: 0.7969 MB / 359.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.03749, allocations: 41.69 kB / 359.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.03797, allocations: 424.3 kB / 359.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.03816, allocations: 127 kB / 359.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.03837, allocations: 110.3 kB / 359.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.03864, allocations: 378.8 kB / 360.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.03925, allocations: 284.5 kB / 360.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/0.04003, allocations: 488.6 kB / 361 MB, free: 2.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.04126, allocations: 0.6221 MB / 361.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.04126, allocations: 0 / 361.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001802/0.04306, allocations: 0.824 MB / 362.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.04318, allocations: 93.09 kB / 362.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.04319, allocations: 4 kB / 362.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.04341, allocations: 28.84 kB / 362.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.04386, allocations: 108.2 kB / 362.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.04528, allocations: 1.252 MB / 364 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.0459, allocations: 79.64 kB / 364 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.04596, allocations: 27.98 kB / 364.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001007/0.04697, allocations: 482.5 kB / 364.5 MB, free: 15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007613/0.04773, allocations: 488.5 kB / 365 MB, free: 14.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001089/0.04882, allocations: 0.587 MB / 365.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.04882, allocations: 4 kB / 365.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001638/0.05046, allocations: 0.797 MB / 366.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.24e-05/0.05056, allocations: 93.09 kB / 366.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.05056, allocations: 4 kB / 366.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.05068, allocations: 28.84 kB / 366.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.05111, allocations: 107.8 kB / 366.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.05239, allocations: 1.268 MB / 367.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.05295, allocations: 67.73 kB / 368 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.05301, allocations: 28 kB / 368 MB, free: 11.21 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.0003524/0.05337, allocations: 271.6 kB / 368.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/0.05363, allocations: 91.52 kB / 368.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.05526, allocations: 0.6016 MB / 369 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.05526, allocations: 4 kB / 369 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.05527, allocations: 0 / 369 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.05528, allocations: 3.984 kB / 369 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.05804, allocations: 1.201 MB / 370.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.05805, allocations: 4 kB / 370.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.0584, allocations: 67.94 kB / 370.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.05851, allocations: 24.86 kB / 370.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.05855, allocations: 15.92 kB / 370.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.05978, allocations: 1.237 MB / 371.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.05978, allocations: 4.031 kB / 371.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.06184, allocations: 0.98 MB / 372.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.06212, allocations: 115.5 kB / 372.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.06223, allocations: 12 kB / 372.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.06268, allocations: 47.95 kB / 372.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.06282, allocations: 36.03 kB / 372.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.06285, allocations: 8 kB / 372.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.06387, allocations: 0.5615 MB / 373.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06387, allocations: 0 / 373.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001469/0.06534, allocations: 366.8 kB / 373.6 MB, free: 5.289 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.003636/0.06898, allocations: 0.7681 MB / 374.4 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.07212, allocations: 1.468 MB / 375.9 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.07214, allocations: 7.922 kB / 375.9 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009224/0.07306, allocations: 477.4 kB / 376.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009686/0.07403, allocations: 132.4 kB / 376.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.07766, allocations: 1.511 MB / 378 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.07826, allocations: 384.1 kB / 378.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004385/0.07869, allocations: 80.36 kB / 378.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.07888, allocations: 48.48 kB / 378.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.07888, allocations: 0 / 378.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of Templates: time 0.02173/0.1006, allocations: 9.49 MB / 388 MB, free: 7.105 MB / 314.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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.775390641065314]