Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.00164/0.00164, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002004/0.002004, allocations: 165.7 kB / 22.45 MB, free: 5.375 MB / 14.72 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.562/1.562, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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.04129/0.04129, allocations: 6.505 MB / 265.7 MB, free: 10.25 MB / 254.1 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 0 / 392.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.682e-05, allocations: 6.281 kB / 392.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.007953/0.00799, allocations: 4.831 MB / 397 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.01266, allocations: 2.282 MB / 399.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007467/0.0134, allocations: 19.94 kB / 399.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.014, allocations: 202.5 kB / 399.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009518/0.01495, allocations: 301.8 kB / 399.8 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.01583, allocations: 382.5 kB / 400.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.01698, allocations: 0.9856 MB / 401.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005371/0.01752, allocations: 307.5 kB / 401.4 MB, free: 388 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.01832, allocations: 0.577 MB / 402 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.01883, allocations: 319.1 kB / 402.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.01898, allocations: 108 kB / 402.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.01939, allocations: 215.7 kB / 402.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.01963, allocations: 219.2 kB / 402.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.01997, allocations: 291.3 kB / 403.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.02153, allocations: 1.223 MB / 404.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.02154, allocations: 0 / 404.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02154, allocations: 4 kB / 404.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.02155, allocations: 0 / 404.4 MB, free: 13.44 MB / 334.1 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.002295/0.02385, allocations: 1.158 MB / 405.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.02389, allocations: 12.03 kB / 405.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.02407, allocations: 96.33 kB / 405.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.02492, allocations: 463.2 kB / 406.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.02507, allocations: 109.3 kB / 406.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.0252, allocations: 84.3 kB / 406.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.0268, allocations: 0.8455 MB / 407.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.02684, allocations: 4 kB / 407.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.02692, allocations: 32 kB / 407.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.02693, allocations: 12 kB / 407.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.02839, allocations: 0.5823 MB / 407.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004397/0.03279, allocations: 2.199 MB / 409.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.03394, allocations: 422.2 kB / 410.3 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.03444, allocations: 232.4 kB / 410.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.03448, allocations: 8.281 kB / 410.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007491/0.03523, allocations: 385.5 kB / 411 MB, free: 6.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.03524, allocations: 4 kB / 411 MB, free: 6.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002007/0.03724, allocations: 0.7851 MB / 411.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.03737, allocations: 174.1 kB / 411.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007682/0.03814, allocations: 0.5292 MB / 412.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.03819, allocations: 33.7 kB / 412.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.03852, allocations: 388.4 kB / 412.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.03864, allocations: 123 kB / 413 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.03883, allocations: 98.12 kB / 413.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.03901, allocations: 366.8 kB / 413.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.03956, allocations: 271.9 kB / 413.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.04027, allocations: 447.9 kB / 414.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.04141, allocations: 0.6039 MB / 414.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.04142, allocations: 4 kB / 414.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001603/0.04302, allocations: 0.7632 MB / 415.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.04311, allocations: 99.91 kB / 415.6 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.04312, allocations: 7.938 kB / 415.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.04333, allocations: 21.28 kB / 415.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.04377, allocations: 103.8 kB / 415.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.0452, allocations: 1.249 MB / 417 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.04596, allocations: 84.03 kB / 417.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.04601, allocations: 20 kB / 417.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008303/0.04684, allocations: 434.1 kB / 417.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000916/0.04776, allocations: 439.9 kB / 417.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/0.04889, allocations: 0.5825 MB / 418.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.737e-06/0.04889, allocations: 3.75 kB / 418.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00163/0.05052, allocations: 0.734 MB / 419.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.0506, allocations: 97.09 kB / 419.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.05061, allocations: 4 kB / 419.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.05071, allocations: 24.84 kB / 419.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.05122, allocations: 95.83 kB / 419.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.05238, allocations: 1.256 MB / 420.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.05297, allocations: 67.73 kB / 420.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.05302, allocations: 31.91 kB / 420.8 MB, free: 11.81 MB / 350.1 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.0003211/0.05334, allocations: 280.3 kB / 421.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.0535, allocations: 59.61 kB / 421.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.05502, allocations: 0.5889 MB / 421.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.05503, allocations: 4 kB / 421.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.05503, allocations: 7.938 kB / 421.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.05504, allocations: 3.984 kB / 421.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.05724, allocations: 1.131 MB / 422.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.05725, allocations: 0 / 422.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.05762, allocations: 75.89 kB / 423 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.05773, allocations: 20.84 kB / 423 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.05777, allocations: 12 kB / 423 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.05886, allocations: 1.248 MB / 424.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.05886, allocations: 32 / 424.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.06082, allocations: 0.9606 MB / 425.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.06104, allocations: 95.5 kB / 425.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.06112, allocations: 15.98 kB / 425.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.06155, allocations: 47.89 kB / 425.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.0617, allocations: 35.94 kB / 425.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.06173, allocations: 12 kB / 425.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.0623, allocations: 374.9 kB / 425.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0623, allocations: 0 / 425.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001128/0.06343, allocations: 338.9 kB / 426.1 MB, free: 6.246 MB / 350.1 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.001878/0.06531, allocations: 498.2 kB / 426.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.06816, allocations: 1.434 MB / 428 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.06816, allocations: 4.188 kB / 428 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.06899, allocations: 492.6 kB / 428.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.06975, allocations: 80.42 kB / 428.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.07254, allocations: 1.27 MB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.07295, allocations: 317.4 kB / 430.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.07324, allocations: 51.27 kB / 430.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.07338, allocations: 40.48 kB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 1.693e-06/0.07338, allocations: 0 / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of Templates: time 0.01958/0.09296, allocations: 7.791 MB / 438.1 MB, free: 10.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0774786323308945] Failed to read output from testmodel.py, exit status != 0: 0.1034565344452858 0.335886683 0.310594935 Calling exit ...