Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0009847/0.0009847, allocations: 93.06 kB / 19.65 MB, free: 276 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.001034/0.001034, allocations: 169 kB / 23.02 MB, free: 1.543 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.118/1.118, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.02918/0.02918, allocations: 6.486 MB / 266.4 MB, free: 6.637 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.867e-06/3.867e-06, allocations: 4 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.438e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.006803/0.006838, allocations: 5.14 MB / 343.2 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.01047, allocations: 2.329 MB / 345.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.011, allocations: 19.88 kB / 345.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.01157, allocations: 222.4 kB / 345.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008948/0.01246, allocations: 341.7 kB / 346.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.0135, allocations: 0.4989 MB / 346.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.01461, allocations: 1.068 MB / 347.7 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.01514, allocations: 336.5 kB / 348 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.01599, allocations: 0.6197 MB / 348.6 MB, free: 180 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.01665, allocations: 362.9 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.01685, allocations: 116 kB / 349.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.01733, allocations: 247.8 kB / 349.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.01761, allocations: 275.1 kB / 349.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.01802, allocations: 319.2 kB / 349.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.0194, allocations: 0.8564 MB / 350.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.0194, allocations: 0 / 350.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.01941, allocations: 4 kB / 350.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.01944, allocations: 4 kB / 350.8 MB, free: 14.02 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002335/0.02177, allocations: 1.394 MB / 352.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.02183, allocations: 16.03 kB / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/0.02212, allocations: 160.3 kB / 352.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.02304, allocations: 0.5468 MB / 352.9 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.02318, allocations: 110 kB / 353 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.0233, allocations: 80.31 kB / 353.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.02451, allocations: 0.7334 MB / 353.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.02454, allocations: 4 kB / 353.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.0246, allocations: 28 kB / 353.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.02463, allocations: 16 kB / 353.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.02531, allocations: 311 kB / 354.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.02857, allocations: 2.433 MB / 356.6 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.02912, allocations: 291.8 kB / 356.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.02928, allocations: 147.3 kB / 357 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.02932, allocations: 8.281 kB / 357 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.02966, allocations: 305 kB / 357.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.946e-06/0.02966, allocations: 0 / 357.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008468/0.03051, allocations: 0.5651 MB / 357.9 MB, free: 6.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.03059, allocations: 195.8 kB / 358.1 MB, free: 6.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.03117, allocations: 0.6556 MB / 358.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.0312, allocations: 33.7 kB / 358.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.03147, allocations: 479.1 kB / 359.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.03156, allocations: 127 kB / 359.4 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.03169, allocations: 119.9 kB / 359.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.03188, allocations: 0.5508 MB / 360 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.03207, allocations: 179.4 kB / 360.2 MB, free: 4.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.03237, allocations: 435.5 kB / 360.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.0328, allocations: 487.5 kB / 361.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.0328, allocations: 4 kB / 361.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007069/0.03351, allocations: 0.6315 MB / 361.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-05/0.03358, allocations: 97.03 kB / 361.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.03359, allocations: 4 kB / 361.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.03378, allocations: 28.11 kB / 361.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.03401, allocations: 103.8 kB / 362 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.03492, allocations: 1.74 MB / 363.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.03517, allocations: 67.77 kB / 363.8 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.0352, allocations: 24 kB / 363.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000317/0.03551, allocations: 309.2 kB / 364.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003015/0.03582, allocations: 435.4 kB / 364.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000422/0.03624, allocations: 479.5 kB / 365 MB, free: 14.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.03624, allocations: 0 / 365 MB, free: 14.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006657/0.03691, allocations: 0.6239 MB / 365.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.03696, allocations: 97.03 kB / 365.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03697, allocations: 4 kB / 365.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.841e-05/0.03705, allocations: 23.67 kB / 365.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.03726, allocations: 99.89 kB / 365.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.0383, allocations: 1.744 MB / 367.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.03855, allocations: 59.72 kB / 367.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.03858, allocations: 27.98 kB / 367.7 MB, free: 11.75 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.0002617/0.03884, allocations: 365.7 kB / 368 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.03894, allocations: 95.5 kB / 368.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.03953, allocations: 431.3 kB / 368.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.03953, allocations: 4 kB / 368.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.03954, allocations: 7.984 kB / 368.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.03955, allocations: 3.938 kB / 368.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.04075, allocations: 1.09 MB / 369.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.04076, allocations: 0 / 369.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.04095, allocations: 63.91 kB / 369.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.23e-05/0.04104, allocations: 19.67 kB / 369.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.04107, allocations: 11.98 kB / 369.7 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009141/0.04199, allocations: 1.732 MB / 371.5 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.04199, allocations: 4.125 kB / 371.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.04275, allocations: 0.7332 MB / 372.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.04289, allocations: 119.4 kB / 372.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.04294, allocations: 8 kB / 372.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.04311, allocations: 35.97 kB / 372.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.04323, allocations: 35.94 kB / 372.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.04325, allocations: 12 kB / 372.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003959/0.04364, allocations: 423 kB / 372.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04364, allocations: 4 kB / 372.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007184/0.04436, allocations: 362.8 kB / 373.2 MB, free: 5.918 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.001728/0.04609, allocations: 0.6986 MB / 373.9 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.04727, allocations: 1.348 MB / 375.2 MB, free: 3.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.04727, allocations: 4 kB / 375.2 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.04759, allocations: 463.6 kB / 375.7 MB, free: 3.465 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.04801, allocations: 122.5 kB / 375.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.05008, allocations: 1.352 MB / 377.2 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.05018, allocations: 166 kB / 377.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.05036, allocations: 72.34 kB / 377.4 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.05046, allocations: 48.48 kB / 377.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of SimCode: time 1.213e-06/0.05046, allocations: 0 / 377.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of Templates: time 0.01317/0.06364, allocations: 9.995 MB / 387.4 MB, free: 7.742 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.288704896811396]