Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.002108/0.002108, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002189/0.002189, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.629/1.629, allocations: 230.6 MB / 256 MB, free: 7.789 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.06916/0.06916, allocations: 11.36 MB / 323.8 MB, free: 8.012 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.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") [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.002529/0.002529, allocations: 63.89 kB / 451.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1431, allocations: 56.07 MB / 0.4956 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003399/0.1465, allocations: 1.618 MB / 0.4972 GB, free: 28 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008227/0.1473, allocations: 298.9 kB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.1474, allocations: 3.938 kB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.819e-05/0.1474, allocations: 11.81 kB / 0.4975 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1476, allocations: 27.8 kB / 0.4975 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.148, allocations: 87.78 kB / 0.4976 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.1483, allocations: 123.7 kB / 0.4977 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1484, allocations: 25.72 kB / 0.4978 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.1485, allocations: 51.67 kB / 0.4978 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1486, allocations: 63.61 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1486, allocations: 8 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.1487, allocations: 47.97 kB / 0.4979 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.1488, allocations: 27.91 kB / 0.4979 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.1488, allocations: 51.66 kB / 0.498 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.1491, allocations: 143.4 kB / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1491, allocations: 0 / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1491, allocations: 0 / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1491, allocations: 3.938 kB / 0.4981 GB, free: 15.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007575/0.1499, allocations: 381.5 kB / 0.4985 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1499, allocations: 12.03 kB / 0.4985 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.15, allocations: 20.84 kB / 0.4985 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1503, allocations: 174.2 kB / 0.4987 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1503, allocations: 4.375 kB / 0.4987 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.1503, allocations: 8.375 kB / 0.4987 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.1507, allocations: 241.2 kB / 0.4989 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1507, allocations: 4.172 kB / 0.4989 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1507, allocations: 11.94 kB / 0.499 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1507, allocations: 0 / 0.499 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1509, allocations: 51.97 kB / 0.499 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.1516, allocations: 332.2 kB / 0.4993 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1519, allocations: 106.6 kB / 0.4994 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.152, allocations: 56.83 kB / 0.4995 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.152, allocations: 0 / 0.4995 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.1523, allocations: 111.3 kB / 0.4996 GB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1523, allocations: 0 / 0.4996 GB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005097/0.1528, allocations: 212.5 kB / 0.4998 GB, free: 13.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.1529, allocations: 158.2 kB / 0.4999 GB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1531, allocations: 191.2 kB / 0.5001 GB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1532, allocations: 33.64 kB / 0.5002 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1533, allocations: 124.1 kB / 0.5003 GB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1533, allocations: 43.62 kB / 0.5003 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.1534, allocations: 41.7 kB / 0.5004 GB, free: 12.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1536, allocations: 338.7 kB / 0.5007 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1537, allocations: 31.98 kB / 0.5007 GB, free: 12.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1539, allocations: 216.2 kB / 0.5009 GB, free: 11.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1542, allocations: 132.1 kB / 0.501 GB, free: 11.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1542, allocations: 0 / 0.501 GB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003328/0.1545, allocations: 173.4 kB / 0.5012 GB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1545, allocations: 11.98 kB / 0.5012 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1545, allocations: 0 / 0.5012 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1545, allocations: 4 kB / 0.5012 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1547, allocations: 35.92 kB / 0.5013 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1547, allocations: 3.938 kB / 0.5013 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1549, allocations: 11.98 kB / 0.5013 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.1549, allocations: 12 kB / 0.5013 GB, free: 11.53 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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000149/0.1551, allocations: 135.9 kB / 0.5014 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1551, allocations: 19.86 kB / 0.5014 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.1551, allocations: 17.47 kB / 0.5014 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1551, allocations: 7.984 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.1552, allocations: 7.938 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1552, allocations: 0 / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.1557, allocations: 386.2 kB / 0.5018 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1557, allocations: 0 / 0.5018 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1558, allocations: 23.92 kB / 0.5019 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1558, allocations: 4 kB / 0.5019 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1559, allocations: 4 kB / 0.5019 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1559, allocations: 3.938 kB / 0.5019 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1559, allocations: 0 / 0.5019 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.1564, allocations: 311.4 kB / 0.5022 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.1564, allocations: 11.91 kB / 0.5022 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1565, allocations: 11.92 kB / 0.5022 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1566, allocations: 11.94 kB / 0.5022 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1567, allocations: 15.97 kB / 0.5022 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1567, allocations: 8.062 kB / 0.5022 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1568, allocations: 135.2 kB / 0.5023 GB, free: 10.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1568, allocations: 0 / 0.5023 GB, free: 10.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1571, allocations: 39.89 kB / 0.5024 GB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001713/0.1573, allocations: 127 kB / 0.5025 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.1576, allocations: 110.7 kB / 0.5026 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1576, allocations: 384 / 0.5026 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1577, allocations: 55.92 kB / 0.5027 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1581, allocations: 31.23 kB / 0.5027 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.1589, allocations: 319.3 kB / 0.503 GB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.159, allocations: 110.2 kB / 0.5031 GB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.1591, allocations: 17.48 kB / 0.5031 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1591, allocations: 19.44 kB / 0.5031 GB, free: 9.512 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1591, allocations: 0 / 0.5031 GB, free: 9.512 MB / 382.1 MB Notification: Performance of Templates: time 0.006055/0.1652, allocations: 2.089 MB / 0.5052 GB, free: 7.457 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.200814805924892] Failed to read output from testmodel.py, exit status != 0: 0.17480824142694473 0.40841120399999997 0.25657428099999996 Calling exit ...