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.0009515/0.0009515, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001147/0.001147, allocations: 173 kB / 23.5 MB, free: 1.051 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.002/1.002, allocations: 177.1 MB / 203.8 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.04234/0.04234, allocations: 6.492 MB / 266.8 MB, free: 6.691 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 1.492e-06/1.492e-06, allocations: 0 / 338.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.501e-05, allocations: 2.312 kB / 338.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.004086/0.004101, allocations: 5.12 MB / 343.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.006141, allocations: 1.604 MB / 344.8 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.006518, allocations: 27.88 kB / 344.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.006898, allocations: 198.5 kB / 345 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.007397, allocations: 297.9 kB / 345.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.007872, allocations: 379.3 kB / 345.7 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.008422, allocations: 0.9739 MB / 346.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.008743, allocations: 315.5 kB / 347 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.00926, allocations: 0.573 MB / 347.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.009541, allocations: 339 kB / 347.9 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.31e-05/0.009614, allocations: 104 kB / 348 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.009739, allocations: 147.9 kB / 348.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.009845, allocations: 215.2 kB / 348.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.01, allocations: 295.2 kB / 348.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.01057, allocations: 0.6697 MB / 349.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01057, allocations: 0 / 349.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01057, allocations: 0 / 349.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.01058, allocations: 4 kB / 349.3 MB, free: 15.82 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00127/0.01185, allocations: 1.235 MB / 350.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.01188, allocations: 8.031 kB / 350.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.01205, allocations: 152.3 kB / 350.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.01252, allocations: 470 kB / 351.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.003e-05/0.01261, allocations: 109.3 kB / 351.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.01269, allocations: 80.31 kB / 351.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007646/0.01345, allocations: 0.6477 MB / 352 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.01347, allocations: 0 / 352 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.01352, allocations: 31.98 kB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.01353, allocations: 16 kB / 352 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.01399, allocations: 311 kB / 352.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.01624, allocations: 2.328 MB / 354.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.01669, allocations: 280.9 kB / 354.9 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.01684, allocations: 151.3 kB / 355.1 MB, free: 9.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.01687, allocations: 4.281 kB / 355.1 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/0.01718, allocations: 313 kB / 355.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.01718, allocations: 0 / 355.4 MB, free: 9.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007233/0.0179, allocations: 0.5613 MB / 356 MB, free: 8.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.01797, allocations: 144.5 kB / 356.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.01834, allocations: 494.6 kB / 356.6 MB, free: 8.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.01837, allocations: 33.7 kB / 356.6 MB, free: 8.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.01857, allocations: 431.2 kB / 357 MB, free: 7.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.01865, allocations: 134.9 kB / 357.2 MB, free: 7.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.01875, allocations: 95.84 kB / 357.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01891, allocations: 0.5352 MB / 357.8 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.01909, allocations: 182.7 kB / 358 MB, free: 6.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.01933, allocations: 354.7 kB / 358.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.0197, allocations: 480.7 kB / 358.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01971, allocations: 0 / 358.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005796/0.02029, allocations: 0.6022 MB / 359.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.02034, allocations: 89.11 kB / 359.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02035, allocations: 7.938 kB / 359.5 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/0.02048, allocations: 23.67 kB / 359.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.02069, allocations: 95.83 kB / 359.6 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007583/0.02145, allocations: 1.74 MB / 361.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.02165, allocations: 67.64 kB / 361.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.02168, allocations: 20 kB / 361.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002619/0.02194, allocations: 304.9 kB / 361.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002412/0.02218, allocations: 354.7 kB / 362.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003657/0.02255, allocations: 471.2 kB / 362.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.02255, allocations: 7.938 kB / 362.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000552/0.0231, allocations: 0.5809 MB / 363.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.02314, allocations: 93.12 kB / 363.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.02315, allocations: 8 kB / 363.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.379e-05/0.02321, allocations: 27.67 kB / 363.3 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.0234, allocations: 95.83 kB / 363.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006587/0.02406, allocations: 1.732 MB / 365.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.02424, allocations: 59.89 kB / 365.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.02426, allocations: 23.98 kB / 365.2 MB, free: 14.68 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 (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.0001558/0.02442, allocations: 355.3 kB / 365.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.02449, allocations: 75.66 kB / 365.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.02496, allocations: 437.9 kB / 366 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.02497, allocations: 8 kB / 366 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.02497, allocations: 0 / 366 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.02498, allocations: 3.984 kB / 366 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.0259, allocations: 0.9809 MB / 367 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.02591, allocations: 4 kB / 367 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.02607, allocations: 67.83 kB / 367.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.523e-05/0.02613, allocations: 23.67 kB / 367.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.02615, allocations: 8 kB / 367.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006123/0.02677, allocations: 1.732 MB / 368.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.02677, allocations: 0 / 368.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.0274, allocations: 0.7216 MB / 369.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.0275, allocations: 91.5 kB / 369.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.02754, allocations: 16.11 kB / 369.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.0277, allocations: 31.98 kB / 369.7 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.02779, allocations: 35.94 kB / 369.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.02781, allocations: 15.98 kB / 369.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.02804, allocations: 322.8 kB / 370.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02804, allocations: 0 / 370.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005153/0.02855, allocations: 307 kB / 370.4 MB, free: 9.16 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.0007369/0.02929, allocations: 351.4 kB / 370.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.03033, allocations: 1.326 MB / 372 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03033, allocations: 0 / 372 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.03063, allocations: 463.6 kB / 372.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.03098, allocations: 88.77 kB / 372.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.03264, allocations: 1.196 MB / 373.8 MB, free: 5.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.03273, allocations: 141.7 kB / 373.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000161/0.03289, allocations: 63.23 kB / 374 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.03297, allocations: 48.42 kB / 374 MB, free: 5.328 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03297, allocations: 0 / 374 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Templates: time 0.00929/0.04226, allocations: 7.114 MB / 381.1 MB, free: 14.29 MB / 314.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.1765746190212667]