Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.001559/0.001559, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.001776/0.001776, allocations: 160 kB / 22.46 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.373/1.373, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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.0394/0.0394, allocations: 6.491 MB / 265.7 MB, free: 10.26 MB / 254.1 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 392.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.378e-05, allocations: 6.219 kB / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.005984/0.006008, allocations: 4.103 MB / 396.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.00982, allocations: 2.325 MB / 398.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.01025, allocations: 15.94 kB / 398.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.01073, allocations: 166.6 kB / 398.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008176/0.01155, allocations: 285.9 kB / 399 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.01236, allocations: 427.2 kB / 399.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.0134, allocations: 0.9854 MB / 400.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.01392, allocations: 337.1 kB / 400.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.01465, allocations: 0.5847 MB / 401.3 MB, free: 484 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004424/0.01509, allocations: 311 kB / 401.6 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.01523, allocations: 112 kB / 401.7 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.01554, allocations: 199.9 kB / 401.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.01581, allocations: 259.1 kB / 402.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.01617, allocations: 311.2 kB / 402.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.01762, allocations: 1.324 MB / 403.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01762, allocations: 0 / 403.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01762, allocations: 0 / 403.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.01763, allocations: 4 kB / 403.8 MB, free: 13.97 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002053/0.01968, allocations: 1.196 MB / 405 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.01971, allocations: 8.031 kB / 405 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.01989, allocations: 100.3 kB / 405.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.02074, allocations: 0.5186 MB / 405.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.02079, allocations: 54.38 kB / 405.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.02092, allocations: 80.33 kB / 405.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.02242, allocations: 0.8786 MB / 406.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.02245, allocations: 7.875 kB / 406.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.02252, allocations: 28 kB / 406.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.02254, allocations: 20 kB / 406.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.02385, allocations: 0.5851 MB / 407.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003829/0.02768, allocations: 2.287 MB / 409.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.02878, allocations: 422.2 kB / 410 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.02927, allocations: 224.4 kB / 410.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.0293, allocations: 4 kB / 410.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/0.03, allocations: 394.4 kB / 410.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.03, allocations: 0 / 410.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001851/0.03185, allocations: 0.779 MB / 411.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.03197, allocations: 170.2 kB / 411.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007664/0.03273, allocations: 0.6074 MB / 412.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.03278, allocations: 37.7 kB / 412.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.0331, allocations: 400.2 kB / 412.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.03321, allocations: 127 kB / 412.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.03338, allocations: 94.14 kB / 412.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.03357, allocations: 374.8 kB / 413.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.03412, allocations: 267.9 kB / 413.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.0348, allocations: 451 kB / 413.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.03592, allocations: 0.5999 MB / 414.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.03592, allocations: 7.938 kB / 414.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001451/0.03737, allocations: 0.7516 MB / 415.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.03745, allocations: 93.09 kB / 415.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.03746, allocations: 4 kB / 415.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.03761, allocations: 29.23 kB / 415.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.03801, allocations: 107.8 kB / 415.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.03908, allocations: 1.256 MB / 416.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.0395, allocations: 79.84 kB / 416.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.03954, allocations: 20 kB / 416.8 MB, free: 200 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007279/0.04027, allocations: 450.9 kB / 417.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006093/0.04088, allocations: 431.9 kB / 417.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009861/0.04186, allocations: 0.5901 MB / 418.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.04187, allocations: 0 / 418.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001332/0.0432, allocations: 0.7302 MB / 419 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.04327, allocations: 93.03 kB / 419.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.04327, allocations: 4 kB / 419.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.805e-05/0.04336, allocations: 24.86 kB / 419.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.04374, allocations: 95.81 kB / 419.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.04478, allocations: 1.265 MB / 420.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.04519, allocations: 71.73 kB / 420.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.04523, allocations: 20 kB / 420.6 MB, free: 12.09 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: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.0002538/0.04548, allocations: 286.5 kB / 420.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.04557, allocations: 59.62 kB / 420.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.04687, allocations: 0.5843 MB / 421.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.04688, allocations: 4 kB / 421.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.04688, allocations: 4 kB / 421.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.04689, allocations: 7.922 kB / 421.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.04893, allocations: 1.143 MB / 422.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.04893, allocations: 0 / 422.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.04928, allocations: 67.88 kB / 422.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-05/0.04936, allocations: 24.8 kB / 422.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.04939, allocations: 11.98 kB / 422.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.05044, allocations: 1.256 MB / 424 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.05044, allocations: 0 / 424 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.05223, allocations: 0.9445 MB / 424.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.05233, allocations: 67.58 kB / 425 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.0524, allocations: 8 kB / 425 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.05277, allocations: 47.95 kB / 425.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.05288, allocations: 35.89 kB / 425.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.05291, allocations: 15.98 kB / 425.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005386/0.05345, allocations: 438.8 kB / 425.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05345, allocations: 0 / 425.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008909/0.05434, allocations: 354.8 kB / 425.9 MB, free: 6.488 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.00161/0.05595, allocations: 491.4 kB / 426.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.05838, allocations: 1.443 MB / 427.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.05838, allocations: 4.188 kB / 427.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.05912, allocations: 480.7 kB / 428.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.05971, allocations: 98.25 kB / 428.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.06197, allocations: 1.347 MB / 429.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.06233, allocations: 338 kB / 430.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.06256, allocations: 63.36 kB / 430.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.06269, allocations: 44.48 kB / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.06269, allocations: 0 / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Templates: time 0.01535/0.07803, allocations: 8.266 MB / 438.4 MB, free: 9.934 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4385491870343685] Failed to read output from testmodel.py, exit status != 0: 0.08625546470284462 0.24256335199999995 0.22253722999999995 Calling exit ...