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.0005942/0.0005942, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007485/0.0007485, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8507/0.8507, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.03272/0.03272, allocations: 8.608 MB / 268.6 MB, free: 5.113 MB / 250.7 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 1.483e-06/1.483e-06, allocations: 0 / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.789e-05, allocations: 8.891 kB / 396.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001928/0.001956, allocations: 1.622 MB / 397.9 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004711/0.002427, allocations: 283.6 kB / 398.2 MB, free: 256 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.002482, allocations: 7.938 kB / 398.2 MB, free: 248 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.002514, allocations: 7.875 kB / 398.2 MB, free: 240 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.002612, allocations: 23.73 kB / 398.3 MB, free: 216 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.002918, allocations: 101.6 kB / 398.4 MB, free: 116 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.003076, allocations: 127.7 kB / 398.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.003192, allocations: 17.75 kB / 398.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.003266, allocations: 75.75 kB / 398.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.003344, allocations: 47.8 kB / 398.6 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.003367, allocations: 12 kB / 398.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.00343, allocations: 35.97 kB / 398.7 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.003468, allocations: 35.84 kB / 398.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.003508, allocations: 35.84 kB / 398.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.003691, allocations: 155.5 kB / 398.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003694, allocations: 4 kB / 398.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.003696, allocations: 3.984 kB / 398.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.0037, allocations: 0 / 398.9 MB, free: 15.57 MB / 378.7 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.000526/0.004226, allocations: 391.6 kB / 399.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.004266, allocations: 8.031 kB / 399.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.004317, allocations: 16.84 kB / 399.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.004497, allocations: 173.5 kB / 399.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.004507, allocations: 4.375 kB / 399.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.004534, allocations: 12.38 kB / 399.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.004758, allocations: 241.2 kB / 399.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004766, allocations: 4.172 kB / 399.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.00478, allocations: 4.375 kB / 399.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.004785, allocations: 384 / 399.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.004874, allocations: 59.84 kB / 399.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.005286, allocations: 324.3 kB / 400.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.005438, allocations: 106.6 kB / 400.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.005507, allocations: 60.77 kB / 400.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.00552, allocations: 11.88 kB / 400.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.005672, allocations: 111.4 kB / 400.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.005673, allocations: 0 / 400.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003044/0.005978, allocations: 201.4 kB / 400.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.006048, allocations: 166.2 kB / 400.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.006174, allocations: 203.8 kB / 401 MB, free: 13.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.006192, allocations: 29.7 kB / 401 MB, free: 13.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.006257, allocations: 116.1 kB / 401.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.006286, allocations: 43.64 kB / 401.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.006332, allocations: 41.7 kB / 401.2 MB, free: 13.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.006425, allocations: 326.8 kB / 401.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.006476, allocations: 35.97 kB / 401.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.006592, allocations: 220.2 kB / 401.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.006716, allocations: 129 kB / 401.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.006718, allocations: 4 kB / 401.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004655/0.007184, allocations: 169.4 kB / 402 MB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.007198, allocations: 4.188 kB / 402.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007203, allocations: 8 kB / 402.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.007216, allocations: 4 kB / 402.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.00731, allocations: 31.92 kB / 402.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.00732, allocations: 3.984 kB / 402.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.007399, allocations: 19.89 kB / 402.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.007407, allocations: 8 kB / 402.1 MB, free: 12.04 MB / 378.7 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 8.08e-05/0.007487, allocations: 137.6 kB / 402.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.007502, allocations: 15.91 kB / 402.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.007535, allocations: 21.47 kB / 402.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007537, allocations: 0 / 402.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.007544, allocations: 8 kB / 402.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.007549, allocations: 3.984 kB / 402.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.007863, allocations: 390.1 kB / 402.7 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007864, allocations: 0 / 402.7 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.007927, allocations: 23.92 kB / 402.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.007929, allocations: 0 / 402.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.007938, allocations: 0 / 402.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.00794, allocations: 4 kB / 402.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007941, allocations: 4 kB / 402.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.008232, allocations: 315.3 kB / 403 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.008249, allocations: 19.88 kB / 403 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.008272, allocations: 7.984 kB / 403.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.008345, allocations: 8 kB / 403.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.008386, allocations: 11.97 kB / 403.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.008395, allocations: 11.94 kB / 403.1 MB, free: 11.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.008464, allocations: 139.2 kB / 403.2 MB, free: 10.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008464, allocations: 4.062 kB / 403.2 MB, free: 10.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.008638, allocations: 32 kB / 403.3 MB, free: 10.84 MB / 378.7 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.0001131/0.008751, allocations: 127 kB / 403.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.008917, allocations: 103.9 kB / 403.5 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008918, allocations: 0 / 403.5 MB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-05/0.008983, allocations: 51.91 kB / 403.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.009187, allocations: 32.3 kB / 403.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.009699, allocations: 346.3 kB / 403.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.612e-05/0.009765, allocations: 110.1 kB / 404 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.009796, allocations: 24.5 kB / 404 MB, free: 10 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009797, allocations: 0 / 404 MB, free: 10 MB / 378.7 MB Notification: Performance of Templates: time 0.002537/0.01233, allocations: 2.055 MB / 406.1 MB, free: 7.945 MB / 378.7 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.21398909855634] Failed to read output from testmodel.py, exit status != 0: 0.01726984977722168 0.024733679 0.019509327 Calling exit ...