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.001779/0.001779, allocations: 80.3 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.002171/0.002171, 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.06429/0.06429, allocations: 8.604 MB / 267.8 MB, free: 8.566 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: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 395.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.227e-05/4.495e-05, allocations: 2.281 kB / 395.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003058/0.003103, allocations: 1.615 MB / 397.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00079/0.003893, allocations: 294.9 kB / 397.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.003966, allocations: 0 / 397.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.004011, allocations: 19.73 kB / 397.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.004131, allocations: 15.81 kB / 397.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.004668, allocations: 99.69 kB / 397.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.004964, allocations: 139.5 kB / 397.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.00516, allocations: 25.73 kB / 397.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.005297, allocations: 71.8 kB / 397.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005428, allocations: 47.81 kB / 397.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.005467, allocations: 12 kB / 397.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.005576, allocations: 35.97 kB / 397.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.005636, allocations: 39.83 kB / 398 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.005721, allocations: 35.86 kB / 398 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.006042, allocations: 151.5 kB / 398.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.006048, allocations: 0 / 398.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.00605, allocations: 0 / 398.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.006057, allocations: 4 kB / 398.1 MB, free: 4.082 MB / 318.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.0008093/0.006866, allocations: 388.3 kB / 398.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.00691, allocations: 12.03 kB / 398.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.00697, allocations: 16.84 kB / 398.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.007245, allocations: 165.5 kB / 398.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.007257, allocations: 4.375 kB / 398.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.007305, allocations: 8.375 kB / 398.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.007656, allocations: 240.5 kB / 399 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.007667, allocations: 4.188 kB / 399 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.007686, allocations: 8.375 kB / 399 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.00769, allocations: 384 / 399 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.007845, allocations: 63.78 kB / 399 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.008538, allocations: 320.3 kB / 399.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.008775, allocations: 106.6 kB / 399.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.008901, allocations: 60.77 kB / 399.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.008916, allocations: 7.938 kB / 399.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.009191, allocations: 115.3 kB / 399.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.009193, allocations: 0 / 399.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.000497/0.00969, allocations: 197.5 kB / 399.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.00981, allocations: 162.2 kB / 400 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.01002, allocations: 199.5 kB / 400.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.01006, allocations: 33.69 kB / 400.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.01015, allocations: 120 kB / 400.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.0102, allocations: 43.66 kB / 400.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01027, allocations: 45.64 kB / 400.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01043, allocations: 334.8 kB / 400.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.01052, allocations: 31.98 kB / 400.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.01074, allocations: 216.2 kB / 401 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.01096, allocations: 133.9 kB / 401.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.01097, allocations: 7.938 kB / 401.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003135/0.01128, allocations: 169.3 kB / 401.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.0113, allocations: 8 kB / 401.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.0113, allocations: 0 / 401.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.01133, allocations: 4 kB / 401.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01148, allocations: 36.11 kB / 401.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01149, allocations: 4 kB / 401.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.01165, allocations: 19.88 kB / 401.4 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01167, allocations: 12 kB / 401.4 MB, free: 0.5352 MB / 318.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.0001292/0.0118, allocations: 132.1 kB / 401.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.01183, allocations: 15.91 kB / 401.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.01188, allocations: 21.45 kB / 401.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01188, allocations: 4 kB / 401.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01189, allocations: 0 / 401.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01189, allocations: 4 kB / 401.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.01245, allocations: 390.1 kB / 401.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01245, allocations: 0 / 401.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01256, allocations: 23.92 kB / 402 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01256, allocations: 0 / 402 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.01258, allocations: 4 kB / 402 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01258, allocations: 0 / 402 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01258, allocations: 48 / 402 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.01311, allocations: 329.6 kB / 402.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.01314, allocations: 23.92 kB / 402.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.01317, allocations: 0 / 402.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.01336, allocations: 15.98 kB / 402.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.01341, allocations: 7.984 kB / 402.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.01343, allocations: 7.938 kB / 402.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.01356, allocations: 139.2 kB / 402.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01356, allocations: 0 / 402.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00029/0.01385, allocations: 32 kB / 402.5 MB, free: 15.36 MB / 334.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.0002025/0.01405, allocations: 131 kB / 402.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.01434, allocations: 107.9 kB / 402.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01434, allocations: 0 / 402.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.01447, allocations: 55.86 kB / 402.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.01482, allocations: 28.62 kB / 402.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.01565, allocations: 314.4 kB / 403.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01576, allocations: 106.2 kB / 403.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.01583, allocations: 21.47 kB / 403.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.01587, allocations: 20.5 kB / 403.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01587, allocations: 0 / 403.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005837/0.02171, allocations: 1.998 MB / 405.3 MB, free: 12.57 MB / 334.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: 4.477087013423443] Failed to read output from testmodel.py, exit status != 0: 0.03120109811425209 0.0455209 0.036347755 Calling exit ...