Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001246/0.001246, allocations: 92.22 kB / 19.65 MB, free: 272 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: 173 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.1/1.1, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03844/0.03844, allocations: 6.487 MB / 266.4 MB, free: 6.625 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 338.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.256e-05, allocations: 2.312 kB / 338.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.006592/0.006624, allocations: 5.148 MB / 343.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.009288, allocations: 1.612 MB / 344.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.009865, allocations: 19.88 kB / 344.9 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.01033, allocations: 198.5 kB / 345.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.0111, allocations: 293.9 kB / 345.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.0121, allocations: 387.2 kB / 345.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.0131, allocations: 0.97 MB / 346.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.01351, allocations: 319.5 kB / 347 MB, free: 2.863 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007424/0.01426, allocations: 0.5651 MB / 347.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.01469, allocations: 343 kB / 347.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.01481, allocations: 104 kB / 348 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.01504, allocations: 143.9 kB / 348.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.01519, allocations: 219.2 kB / 348.4 MB, free: 1.504 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.01539, allocations: 291.3 kB / 348.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.01619, allocations: 0.6812 MB / 349.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01619, allocations: 0 / 349.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0162, allocations: 0 / 349.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.01621, allocations: 0 / 349.3 MB, free: 0.5352 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00149/0.0177, allocations: 1.238 MB / 350.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.01773, allocations: 8.031 kB / 350.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.01791, allocations: 148.4 kB / 350.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.01841, allocations: 466.1 kB / 351.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/0.01851, allocations: 109.3 kB / 351.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.01859, allocations: 76.33 kB / 351.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.01934, allocations: 0.6516 MB / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.01936, allocations: 0 / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.0194, allocations: 28 kB / 352 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01942, allocations: 16 kB / 352 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.01986, allocations: 315 kB / 352.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.02249, allocations: 2.332 MB / 354.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.02296, allocations: 295.9 kB / 355 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.02311, allocations: 139.6 kB / 355.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.02314, allocations: 8.281 kB / 355.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.02345, allocations: 316.7 kB / 355.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/0.02345, allocations: 4 kB / 355.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007406/0.02419, allocations: 0.5534 MB / 356 MB, free: 9.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.02425, allocations: 140.4 kB / 356.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.0246, allocations: 0.4908 MB / 356.6 MB, free: 8.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.02463, allocations: 41.64 kB / 356.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.02483, allocations: 431.1 kB / 357.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.214e-05/0.02491, allocations: 123 kB / 357.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.02502, allocations: 107.8 kB / 357.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02516, allocations: 0.5352 MB / 357.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.02533, allocations: 174.7 kB / 358 MB, free: 7.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.02557, allocations: 350.7 kB / 358.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.02597, allocations: 468.9 kB / 358.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02597, allocations: 0 / 358.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008697/0.02684, allocations: 0.5982 MB / 359.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.02689, allocations: 97.09 kB / 359.5 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.0269, allocations: 3.938 kB / 359.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.02703, allocations: 31.67 kB / 359.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.02725, allocations: 91.83 kB / 359.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008424/0.02809, allocations: 1.736 MB / 361.4 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.02831, allocations: 67.64 kB / 361.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.02834, allocations: 20 kB / 361.4 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002536/0.02859, allocations: 296.9 kB / 361.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002316/0.02883, allocations: 354.8 kB / 362.1 MB, free: 2.781 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003586/0.02918, allocations: 475 kB / 362.5 MB, free: 2.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.02919, allocations: 3.938 kB / 362.6 MB, free: 2.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005699/0.02976, allocations: 0.5887 MB / 363.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.0298, allocations: 97.09 kB / 363.2 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.02981, allocations: 4 kB / 363.2 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.204e-05/0.02989, allocations: 27.67 kB / 363.3 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.03008, allocations: 87.89 kB / 363.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007893/0.03087, allocations: 1.743 MB / 365.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.03109, allocations: 55.77 kB / 365.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.03111, allocations: 20 kB / 365.2 MB, free: 15.41 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.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 (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.000204/0.03132, allocations: 366.3 kB / 365.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.03139, allocations: 71.62 kB / 365.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.03188, allocations: 446 kB / 366 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.03188, allocations: 4 kB / 366 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.03189, allocations: 0 / 366 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.03189, allocations: 4 kB / 366 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.03313, allocations: 0.9809 MB / 367 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.03313, allocations: 0 / 367 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.03331, allocations: 63.89 kB / 367.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.829e-05/0.03337, allocations: 15.69 kB / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.0334, allocations: 15.98 kB / 367.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006702/0.03407, allocations: 1.732 MB / 368.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03407, allocations: 0 / 368.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.03471, allocations: 0.7255 MB / 369.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.03483, allocations: 91.56 kB / 369.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.03487, allocations: 16 kB / 369.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.03502, allocations: 31.97 kB / 369.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.03511, allocations: 35.94 kB / 369.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.03513, allocations: 12 kB / 369.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005317/0.03566, allocations: 326.8 kB / 370.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03566, allocations: 0 / 370.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006477/0.03631, allocations: 307 kB / 370.4 MB, free: 9.887 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.0008085/0.03712, allocations: 347.2 kB / 370.7 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.0382, allocations: 1.322 MB / 372 MB, free: 8.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.0382, allocations: 4 kB / 372 MB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.03849, allocations: 467.6 kB / 372.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.03887, allocations: 105.2 kB / 372.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.04108, allocations: 1.184 MB / 373.8 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.04119, allocations: 145.7 kB / 373.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.04138, allocations: 63.23 kB / 374 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.04147, allocations: 36.48 kB / 374 MB, free: 6.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.04147, allocations: 0 / 374 MB, free: 6.055 MB / 346.7 MB Notification: Performance of Templates: time 0.01155/0.05302, allocations: 7.377 MB / 381.4 MB, free: 14.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.308433560654521]