Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001373/0.001373, allocations: 114.8 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.001578/0.001578, allocations: 197.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.564/1.564, 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-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04515/0.04515, allocations: 8.548 MB / 314.7 MB, free: 300 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-main/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_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 438.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 54.2 MB / 492.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.007505/0.1362, allocations: 4.483 MB / 497.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.1413, allocations: 2.213 MB / 499.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.142, allocations: 15.94 kB / 499.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.1426, allocations: 158.7 kB / 499.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008531/0.1435, allocations: 238.3 kB / 500 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1446, allocations: 425.5 kB / 0.4886 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1459, allocations: 0.9469 MB / 0.4896 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.1466, allocations: 360.6 kB / 0.4899 GB, free: 13.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.1472, allocations: 378.7 kB / 0.4903 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.1478, allocations: 418.2 kB / 0.4907 GB, free: 12.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.148, allocations: 112 kB / 0.4908 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.1483, allocations: 156 kB / 0.4909 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.1486, allocations: 247.2 kB / 0.4912 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005124/0.1491, allocations: 473.8 kB / 0.4916 GB, free: 11.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.1509, allocations: 1.241 MB / 0.4928 GB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1509, allocations: 0 / 0.4928 GB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1509, allocations: 0 / 0.4928 GB, free: 10.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.1509, allocations: 0 / 0.4928 GB, free: 10.31 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.00249/0.1534, allocations: 1.267 MB / 0.4941 GB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1535, allocations: 11.89 kB / 0.4941 GB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.1537, allocations: 104.3 kB / 0.4942 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1547, allocations: 0.5642 MB / 0.4947 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/0.1548, allocations: 58.38 kB / 0.4948 GB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.1549, allocations: 80.12 kB / 0.4949 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.1564, allocations: 0.7486 MB / 0.4956 GB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.1565, allocations: 3.953 kB / 0.4956 GB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.1565, allocations: 32 kB / 0.4956 GB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.1566, allocations: 16 kB / 0.4956 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1579, allocations: 0.527 MB / 0.4962 GB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.1625, allocations: 2.715 MB / 0.4988 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.1637, allocations: 452.3 kB / 0.4992 GB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.1642, allocations: 165 kB / 0.4994 GB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.1642, allocations: 4 kB / 0.4994 GB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006722/0.1649, allocations: 271.4 kB / 0.4997 GB, free: 3.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.1649, allocations: 0 / 0.4997 GB, free: 3.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001973/0.1669, allocations: 0.7458 MB / 0.5004 GB, free: 2.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.167, allocations: 158.5 kB / 0.5005 GB, free: 2.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.168, allocations: 0.6788 MB / 0.5012 GB, free: 1.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.168, allocations: 37.7 kB / 0.5012 GB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.1684, allocations: 388.5 kB / 0.5016 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.1685, allocations: 130.9 kB / 0.5017 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.1687, allocations: 94.25 kB / 0.5018 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1689, allocations: 378.7 kB / 0.5022 GB, free: 328 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.1694, allocations: 183 kB / 0.5024 GB, free: 144 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.17, allocations: 308 kB / 0.5027 GB, free: 15.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.1711, allocations: 0.596 MB / 0.5032 GB, free: 15.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1711, allocations: 4 kB / 0.5032 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00147/0.1726, allocations: 0.6765 MB / 0.5039 GB, free: 14.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.1727, allocations: 89.48 kB / 0.504 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1727, allocations: 4 kB / 0.504 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/0.1729, allocations: 36.78 kB / 0.504 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.1733, allocations: 95.88 kB / 0.5041 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.1746, allocations: 1.388 MB / 0.5055 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000508/0.1751, allocations: 83.58 kB / 0.5055 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.1751, allocations: 24.09 kB / 0.5056 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007537/0.1759, allocations: 369.1 kB / 0.5059 GB, free: 12.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005277/0.1764, allocations: 292 kB / 0.5062 GB, free: 11.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009977/0.1774, allocations: 0.5746 MB / 0.5068 GB, free: 11.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.1774, allocations: 0 / 0.5068 GB, free: 11.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001365/0.1788, allocations: 0.6545 MB / 0.5074 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.197e-05/0.1789, allocations: 95.75 kB / 0.5075 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1789, allocations: 4.438 kB / 0.5075 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.179, allocations: 36.78 kB / 0.5075 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.1793, allocations: 91.88 kB / 0.5076 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.1805, allocations: 1.398 MB / 0.509 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.181, allocations: 67.73 kB / 0.509 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.181, allocations: 20 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.0003496/0.1814, allocations: 282.1 kB / 0.5093 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1815, allocations: 63.56 kB / 0.5094 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.1828, allocations: 0.5423 MB / 0.5099 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1828, allocations: 4 kB / 0.5099 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1828, allocations: 0 / 0.5099 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1828, allocations: 3.984 kB / 0.5099 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.1851, allocations: 1.28 MB / 0.5112 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1851, allocations: 0 / 0.5112 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.1856, allocations: 59.95 kB / 0.5112 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.1857, allocations: 24.78 kB / 0.5113 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.1857, allocations: 8 kB / 0.5113 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.187, allocations: 1.387 MB / 0.5126 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.187, allocations: 160 / 0.5126 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.1887, allocations: 0.8321 MB / 0.5134 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.189, allocations: 144.7 kB / 0.5136 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.189, allocations: 19.94 kB / 0.5136 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.1894, allocations: 43.95 kB / 0.5136 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1896, allocations: 31.95 kB / 0.5137 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1896, allocations: 8 kB / 0.5137 GB, free: 3.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007175/0.1903, allocations: 494.8 kB / 0.5141 GB, free: 3.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1903, allocations: 0 / 0.5141 GB, free: 3.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.1914, allocations: 327.1 kB / 0.5145 GB, free: 2.793 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.00152/0.1929, allocations: 402 kB / 0.5148 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.1954, allocations: 1.204 MB / 0.516 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1954, allocations: 4.062 kB / 0.516 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.1962, allocations: 421.2 kB / 0.5164 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.1968, allocations: 99.53 kB / 0.5165 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2421/0.4389, allocations: 1.386 MB / 0.5179 GB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.4395, allocations: 0.9357 MB / 0.5188 GB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000377/0.4399, allocations: 73.27 kB / 0.5189 GB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.44, allocations: 41.31 kB / 0.5189 GB, free: 35.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.44, allocations: 1.203 kB / 0.5189 GB, free: 35.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01902/0.459, allocations: 8.305 MB / 0.527 GB, free: 34.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.300111424643546] Failed to read output from testmodel.py, exit status != 0: 0.4667200818657875 0.48012935999999995 0.326394442 Calling exit ...