Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.00158/0.00158, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00159/0.00159, allocations: 213.4 kB / 22.24 MB, free: 5.242 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06692/0.06692, allocations: 11.35 MB / 323.8 MB, free: 8.031 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.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(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003428/0.003428, allocations: 71.89 kB / 451.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1608, allocations: 56.06 MB / 0.4956 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003919/0.1647, allocations: 1.591 MB / 0.4972 GB, free: 64 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006544/0.1653, allocations: 235.2 kB / 0.4974 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.1654, allocations: 4 kB / 0.4974 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.1654, allocations: 11.81 kB / 0.4974 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1655, allocations: 19.86 kB / 0.4974 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1659, allocations: 71.81 kB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1661, allocations: 103.7 kB / 0.4976 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1662, allocations: 13.62 kB / 0.4976 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.1663, allocations: 43.78 kB / 0.4977 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.112e-05/0.1664, allocations: 43.66 kB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.1664, allocations: 12 kB / 0.4977 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.1665, allocations: 35.97 kB / 0.4977 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.1665, allocations: 27.91 kB / 0.4978 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1665, allocations: 35.73 kB / 0.4978 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1668, allocations: 119.5 kB / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1668, allocations: 0 / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1668, allocations: 0 / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1668, allocations: 0 / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006327/0.1674, allocations: 349.7 kB / 0.4983 GB, free: 14.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1675, allocations: 8.031 kB / 0.4983 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.1675, allocations: 20.84 kB / 0.4983 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1678, allocations: 150.3 kB / 0.4984 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1678, allocations: 8.375 kB / 0.4984 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1678, allocations: 4.375 kB / 0.4984 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1681, allocations: 90.14 kB / 0.4985 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1681, allocations: 192 / 0.4985 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1681, allocations: 11.94 kB / 0.4985 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1681, allocations: 0 / 0.4985 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1682, allocations: 47.97 kB / 0.4986 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.1689, allocations: 316.2 kB / 0.4989 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.1691, allocations: 102.6 kB / 0.499 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1692, allocations: 56.78 kB / 0.499 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1693, allocations: 0 / 0.499 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1695, allocations: 107.3 kB / 0.4991 GB, free: 13.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1695, allocations: 0 / 0.4991 GB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004399/0.1699, allocations: 192.6 kB / 0.4993 GB, free: 13.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.17, allocations: 55.41 kB / 0.4994 GB, free: 13.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1702, allocations: 171.4 kB / 0.4995 GB, free: 13.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1702, allocations: 29.7 kB / 0.4996 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.1703, allocations: 112 kB / 0.4997 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.1703, allocations: 43.67 kB / 0.4997 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.1704, allocations: 37.66 kB / 0.4997 GB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1705, allocations: 326.8 kB / 0.5001 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.1706, allocations: 35.97 kB / 0.5001 GB, free: 12.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1707, allocations: 81.98 kB / 0.5002 GB, free: 12.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.1709, allocations: 125.9 kB / 0.5003 GB, free: 12.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1709, allocations: 4 kB / 0.5003 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002681/0.1712, allocations: 157.5 kB / 0.5004 GB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1712, allocations: 10.5 kB / 0.5005 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1712, allocations: 0 / 0.5005 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1713, allocations: 4 kB / 0.5005 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1714, allocations: 35.92 kB / 0.5005 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1714, allocations: 0 / 0.5005 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.1715, allocations: 15.89 kB / 0.5005 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1715, allocations: 12 kB / 0.5005 GB, free: 12.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.1716, allocations: 129.7 kB / 0.5006 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1716, allocations: 20 kB / 0.5007 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.1717, allocations: 13.47 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1717, allocations: 4 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1717, allocations: 0 / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1717, allocations: 0 / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.1722, allocations: 380.8 kB / 0.501 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1722, allocations: 0 / 0.501 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.1723, allocations: 19.98 kB / 0.5011 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1723, allocations: 0 / 0.5011 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1723, allocations: 11.94 kB / 0.5011 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1723, allocations: 4 kB / 0.5011 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1723, allocations: 0 / 0.5011 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1728, allocations: 287.4 kB / 0.5014 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.1728, allocations: 15.88 kB / 0.5014 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1728, allocations: 7.938 kB / 0.5014 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.1729, allocations: 4 kB / 0.5014 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.1729, allocations: 15.97 kB / 0.5014 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1729, allocations: 4 kB / 0.5014 GB, free: 11.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.173, allocations: 120.9 kB / 0.5015 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.173, allocations: 4.062 kB / 0.5015 GB, free: 11.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1733, allocations: 31.88 kB / 0.5015 GB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.1735, allocations: 119.1 kB / 0.5017 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1737, allocations: 103.8 kB / 0.5018 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1737, allocations: 0 / 0.5018 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1738, allocations: 44.36 kB / 0.5018 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1742, allocations: 35.06 kB / 0.5018 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.1749, allocations: 287.4 kB / 0.5021 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.175, allocations: 93.55 kB / 0.5022 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.175, allocations: 21.36 kB / 0.5022 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.1751, allocations: 15.44 kB / 0.5022 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1751, allocations: 0 / 0.5022 GB, free: 10.54 MB / 382.1 MB Notification: Performance of Templates: time 0.0048/0.1799, allocations: 1.499 MB / 0.5037 GB, free: 9.07 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.25797183252871] Failed to read output from testmodel.py, exit status != 0: 0.19102062843739986 0.44180201300000005 0.272361322 Calling exit ...