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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] 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.04293/0.04293, allocations: 8.545 MB / 314.7 MB, free: 296 kB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002471/0.002471, allocations: 71.88 kB / 438.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.134, allocations: 54.2 MB / 492.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.009459/0.1434, allocations: 4.483 MB / 497.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005044/0.1485, allocations: 2.209 MB / 499.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005249/0.149, allocations: 15.94 kB / 499.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.1496, allocations: 158.7 kB / 499.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009422/0.1505, allocations: 238.3 kB / 499.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1517, allocations: 432.7 kB / 0.4886 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1532, allocations: 0.9469 MB / 0.4896 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007897/0.154, allocations: 368.6 kB / 0.4899 GB, free: 13.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006537/0.1546, allocations: 378.7 kB / 0.4903 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007786/0.1554, allocations: 410.2 kB / 0.4907 GB, free: 12.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.1556, allocations: 112 kB / 0.4908 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.156, allocations: 164 kB / 0.4909 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.1563, allocations: 239.2 kB / 0.4912 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.1569, allocations: 473.8 kB / 0.4916 GB, free: 11.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.1589, allocations: 1.234 MB / 0.4928 GB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1589, allocations: 0 / 0.4928 GB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1589, allocations: 0 / 0.4928 GB, free: 10.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1589, allocations: 4 kB / 0.4928 GB, free: 10.32 MB / 366.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.003004/0.1619, allocations: 1.263 MB / 0.4941 GB, free: 8.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.162, allocations: 15.89 kB / 0.4941 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.1622, allocations: 100.3 kB / 0.4942 GB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1635, allocations: 0.5759 MB / 0.4947 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.1636, allocations: 50.38 kB / 0.4948 GB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.1638, allocations: 80.12 kB / 0.4949 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.1658, allocations: 0.7447 MB / 0.4956 GB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.1659, allocations: 3.953 kB / 0.4956 GB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.766e-05/0.166, allocations: 32 kB / 0.4956 GB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.166, allocations: 23.94 kB / 0.4956 GB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.1679, allocations: 0.5348 MB / 0.4962 GB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006165/0.1741, allocations: 2.711 MB / 0.4988 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.1757, allocations: 448.3 kB / 0.4992 GB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/0.1763, allocations: 165 kB / 0.4994 GB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.1763, allocations: 8 kB / 0.4994 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008579/0.1772, allocations: 267.4 kB / 0.4997 GB, free: 3.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.1772, allocations: 0 / 0.4997 GB, free: 3.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002629/0.1798, allocations: 0.7419 MB / 0.5004 GB, free: 2.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.18, allocations: 166.5 kB / 0.5005 GB, free: 2.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.1813, allocations: 0.6788 MB / 0.5012 GB, free: 1.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.1813, allocations: 33.7 kB / 0.5012 GB, free: 1.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.1818, allocations: 388.5 kB / 0.5016 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.182, allocations: 134.9 kB / 0.5017 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1822, allocations: 90.25 kB / 0.5018 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.1824, allocations: 378.7 kB / 0.5022 GB, free: 332 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.1832, allocations: 191 kB / 0.5024 GB, free: 140 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.184, allocations: 304 kB / 0.5027 GB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.1856, allocations: 0.5999 MB / 0.5032 GB, free: 15.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1856, allocations: 0 / 0.5032 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00209/0.1877, allocations: 0.6768 MB / 0.5039 GB, free: 14.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.1878, allocations: 96.28 kB / 0.504 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1878, allocations: 4 kB / 0.504 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.188, allocations: 32.78 kB / 0.504 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.1886, allocations: 95.88 kB / 0.5041 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.1902, allocations: 1.395 MB / 0.5055 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.1909, allocations: 87.7 kB / 0.5056 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.191, allocations: 20 kB / 0.5056 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001021/0.192, allocations: 357.2 kB / 0.5059 GB, free: 12.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007834/0.1928, allocations: 300 kB / 0.5062 GB, free: 11.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00141/0.1942, allocations: 0.5746 MB / 0.5068 GB, free: 11.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.1942, allocations: 0 / 0.5068 GB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001936/0.1962, allocations: 0.6506 MB / 0.5074 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.524e-05/0.1962, allocations: 97.53 kB / 0.5075 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1963, allocations: 11.94 kB / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.1964, allocations: 24.84 kB / 0.5075 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.1969, allocations: 91.89 kB / 0.5076 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1985, allocations: 1.391 MB / 0.509 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.1992, allocations: 71.83 kB / 0.509 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.1992, allocations: 24 kB / 0.5091 GB, free: 8.621 MB / 382.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.0003255/0.1995, allocations: 279.1 kB / 0.5093 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.1997, allocations: 71.5 kB / 0.5094 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.2014, allocations: 0.5423 MB / 0.5099 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.2014, allocations: 4 kB / 0.5099 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2014, allocations: 0 / 0.5099 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2014, allocations: 0 / 0.5099 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.2044, allocations: 1.284 MB / 0.5112 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2044, allocations: 0 / 0.5112 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.2049, allocations: 59.89 kB / 0.5112 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.205, allocations: 20.86 kB / 0.5113 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.2051, allocations: 11.98 kB / 0.5113 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.2065, allocations: 1.387 MB / 0.5126 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2065, allocations: 0 / 0.5126 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.2089, allocations: 0.8245 MB / 0.5134 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.2092, allocations: 156.7 kB / 0.5136 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.2093, allocations: 12 kB / 0.5136 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.2099, allocations: 43.94 kB / 0.5136 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.2101, allocations: 35.95 kB / 0.5137 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/0.2101, allocations: 12 kB / 0.5137 GB, free: 3.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009317/0.211, allocations: 490.8 kB / 0.5142 GB, free: 3.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.211, allocations: 3.938 kB / 0.5142 GB, free: 3.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001371/0.2124, allocations: 323.1 kB / 0.5145 GB, free: 2.789 MB / 382.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.001835/0.2142, allocations: 389.6 kB / 0.5148 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.2174, allocations: 1.211 MB / 0.516 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2174, allocations: 0 / 0.516 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000982/0.2184, allocations: 421.2 kB / 0.5164 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.2194, allocations: 107.8 kB / 0.5165 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2256/0.445, allocations: 1.381 MB / 0.5179 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.4455, allocations: 0.9348 MB / 0.5188 GB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000358/0.4458, allocations: 72.16 kB / 0.5189 GB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.446, allocations: 44.14 kB / 0.5189 GB, free: 35.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.446, allocations: 0.7812 kB / 0.5189 GB, free: 35.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01773/0.4637, allocations: 8.289 MB / 0.527 GB, free: 34.66 MB / 382.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 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0794824990443885] Failed to read output from testmodel.py, exit status != 0: 0.47237497894093394 0.48353325300000005 0.321995454 Calling exit ...