Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001129/0.001129, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001335/0.001335, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.9303/0.9303, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.02518/0.02518, allocations: 6.476 MB / 266.4 MB, free: 6.828 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 392.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.192e-05, allocations: 6.219 kB / 392.9 MB, free: 5.207 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.005385/0.005417, allocations: 4.792 MB / 397.7 MB, free: 396 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.007828, allocations: 1.596 MB / 399.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.008311, allocations: 19.94 kB / 399.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.00877, allocations: 194.6 kB / 399.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.009431, allocations: 293.9 kB / 399.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.01004, allocations: 377.5 kB / 400.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.01079, allocations: 0.9778 MB / 401.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.01116, allocations: 307.5 kB / 401.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.01173, allocations: 0.5652 MB / 402 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.01203, allocations: 315 kB / 402.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.01211, allocations: 108 kB / 402.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.01229, allocations: 148 kB / 402.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.01242, allocations: 203.3 kB / 402.7 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.01262, allocations: 295.2 kB / 403 MB, free: 11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.0138, allocations: 1.137 MB / 404.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.0138, allocations: 0 / 404.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.0138, allocations: 0 / 404.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.01381, allocations: 0 / 404.2 MB, free: 9.859 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001358/0.01517, allocations: 1.135 MB / 405.3 MB, free: 8.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.01521, allocations: 12.03 kB / 405.3 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.01533, allocations: 96.33 kB / 405.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/0.01591, allocations: 463.2 kB / 405.9 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.01602, allocations: 113.3 kB / 406 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/0.01609, allocations: 68.33 kB / 406 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.017, allocations: 0.8079 MB / 406.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.01702, allocations: 4 kB / 406.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.01706, allocations: 31.98 kB / 406.9 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01707, allocations: 16 kB / 406.9 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.01784, allocations: 0.5745 MB / 407.5 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.02007, allocations: 2.18 MB / 409.7 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.02074, allocations: 426.5 kB / 410.1 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.021, allocations: 228.4 kB / 410.3 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.02104, allocations: 4.281 kB / 410.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006896/0.02173, allocations: 393.6 kB / 410.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.863e-06/0.02173, allocations: 0 / 410.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001064/0.0228, allocations: 0.7928 MB / 411.5 MB, free: 2.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.02286, allocations: 148.5 kB / 411.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004216/0.02328, allocations: 0.5213 MB / 412.1 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.02331, allocations: 33.7 kB / 412.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.02349, allocations: 368.5 kB / 412.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.02357, allocations: 130.9 kB / 412.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.02368, allocations: 98.12 kB / 412.8 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.02378, allocations: 362.8 kB / 413.1 MB, free: 488 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.02408, allocations: 271.9 kB / 413.4 MB, free: 192 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.02443, allocations: 421.3 kB / 413.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.02503, allocations: 0.5998 MB / 414.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.02503, allocations: 8 kB / 414.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000799/0.02583, allocations: 0.7634 MB / 415.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.02589, allocations: 93.11 kB / 415.3 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.02589, allocations: 3.984 kB / 415.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.02603, allocations: 28.8 kB / 415.3 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.02625, allocations: 99.81 kB / 415.4 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007398/0.02699, allocations: 1.257 MB / 416.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.02724, allocations: 83.61 kB / 416.7 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.02727, allocations: 20 kB / 416.7 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004474/0.02771, allocations: 430.2 kB / 417.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000575/0.02829, allocations: 409.4 kB / 417.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005251/0.02881, allocations: 0.5865 MB / 418.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.02882, allocations: 4 kB / 418.1 MB, free: 10.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0007236/0.02954, allocations: 0.7344 MB / 418.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.02958, allocations: 89.11 kB / 419 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.02959, allocations: 8 kB / 419 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.001e-05/0.02966, allocations: 24.84 kB / 419 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.02985, allocations: 99.81 kB / 419.1 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006331/0.03049, allocations: 1.256 MB / 420.4 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.03072, allocations: 67.89 kB / 420.4 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.03074, allocations: 20 kB / 420.4 MB, free: 8.457 MB / 394.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.0001741/0.03091, allocations: 279.5 kB / 420.7 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.03097, allocations: 59.62 kB / 420.8 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.0317, allocations: 0.6044 MB / 421.4 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.03171, allocations: 7.984 kB / 421.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.03171, allocations: 0 / 421.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.03172, allocations: 0 / 421.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.0329, allocations: 1.127 MB / 422.5 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.03291, allocations: 0 / 422.5 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.03308, allocations: 63.95 kB / 422.6 MB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.484e-05/0.03315, allocations: 16.84 kB / 422.6 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.03317, allocations: 12 kB / 422.6 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005964/0.03377, allocations: 1.252 MB / 423.9 MB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03377, allocations: 0 / 423.9 MB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.03499, allocations: 0.9645 MB / 424.8 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.03512, allocations: 91.55 kB / 424.9 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.03515, allocations: 11.98 kB / 424.9 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.03534, allocations: 47.95 kB / 425 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/0.03543, allocations: 35.94 kB / 425 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.03545, allocations: 12 kB / 425 MB, free: 3.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002863/0.03573, allocations: 366.9 kB / 425.4 MB, free: 3.242 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03573, allocations: 0 / 425.4 MB, free: 3.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.03636, allocations: 307 kB / 425.7 MB, free: 2.941 MB / 394.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.0006719/0.03704, allocations: 398.5 kB / 426.1 MB, free: 2.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.03846, allocations: 1.453 MB / 427.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.03846, allocations: 0 / 427.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.03885, allocations: 485.8 kB / 428 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.03921, allocations: 84.03 kB / 428.1 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.04081, allocations: 1.292 MB / 429.4 MB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.04101, allocations: 317.1 kB / 429.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.04111, allocations: 52.36 kB / 429.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.04111, allocations: 0 / 429.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01009/0.0512, allocations: 11.2 MB / 440.9 MB, free: 3.574 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.022542987018824] Failed to read output from testmodel.py, exit status != 0: 0.05758798401802778 0.23226774700000002 0.21620914700000002 Calling exit ...