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.001387/0.001387, allocations: 77.55 kB / 19.76 MB, free: 2.027 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: 155.8 kB / 23.01 MB, free: 4.949 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.06059/0.06059, allocations: 8.621 MB / 268.4 MB, free: 8.523 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.002016/0.002016, allocations: 67.91 kB / 396.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1314, allocations: 56.05 MB / 452.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003851/0.1352, allocations: 1.626 MB / 453.7 MB, free: 14.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.136, allocations: 295 kB / 454 MB, free: 13.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1361, allocations: 0 / 454 MB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.1362, allocations: 11.81 kB / 454 MB, free: 13.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1363, allocations: 23.8 kB / 454.1 MB, free: 13.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1367, allocations: 87.78 kB / 454.2 MB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1369, allocations: 139.6 kB / 454.3 MB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.137, allocations: 13.8 kB / 454.3 MB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.137, allocations: 55.72 kB / 454.4 MB, free: 13.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.1371, allocations: 51.69 kB / 454.4 MB, free: 13.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1371, allocations: 12 kB / 454.4 MB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.1372, allocations: 43.97 kB / 454.5 MB, free: 13.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.1373, allocations: 39.77 kB / 454.5 MB, free: 13.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.1373, allocations: 47.67 kB / 454.5 MB, free: 13.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1375, allocations: 135.4 kB / 454.7 MB, free: 13.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1375, allocations: 4 kB / 454.7 MB, free: 13.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1375, allocations: 8 kB / 454.7 MB, free: 13.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1375, allocations: 0 / 454.7 MB, free: 13.2 MB / 430.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.0005577/0.1381, allocations: 373.5 kB / 455.1 MB, free: 12.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.484e-05/0.1381, allocations: 8.031 kB / 455.1 MB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1382, allocations: 16.84 kB / 455.1 MB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1384, allocations: 178.2 kB / 455.3 MB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1384, allocations: 4.375 kB / 455.3 MB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1384, allocations: 8.375 kB / 455.3 MB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1387, allocations: 245.2 kB / 455.5 MB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1387, allocations: 4.188 kB / 455.5 MB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1387, allocations: 7.938 kB / 455.5 MB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-06/0.1387, allocations: 0 / 455.5 MB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1389, allocations: 55.91 kB / 455.6 MB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.1395, allocations: 328.3 kB / 455.9 MB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1397, allocations: 114.5 kB / 456 MB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1398, allocations: 64.77 kB / 456.1 MB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1398, allocations: 4 kB / 456.1 MB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.1401, allocations: 111.3 kB / 456.2 MB, free: 11.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1401, allocations: 4 kB / 456.2 MB, free: 11.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004208/0.1405, allocations: 206.7 kB / 456.4 MB, free: 11.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.1406, allocations: 158.2 kB / 456.5 MB, free: 11.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1408, allocations: 187.8 kB / 456.7 MB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1409, allocations: 29.7 kB / 456.8 MB, free: 10.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.141, allocations: 128.1 kB / 456.9 MB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.141, allocations: 39.69 kB / 456.9 MB, free: 10.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.1411, allocations: 41.7 kB / 457 MB, free: 10.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1413, allocations: 334.8 kB / 457.3 MB, free: 10.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.1414, allocations: 35.98 kB / 457.3 MB, free: 10.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1416, allocations: 216.2 kB / 457.5 MB, free: 10.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.1418, allocations: 125.3 kB / 457.7 MB, free: 9.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1418, allocations: 4 kB / 457.7 MB, free: 9.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003351/0.1421, allocations: 177.3 kB / 457.8 MB, free: 9.746 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1422, allocations: 11.92 kB / 457.8 MB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1422, allocations: 4 kB / 457.8 MB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1422, allocations: 4.188 kB / 457.8 MB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1423, allocations: 27.98 kB / 457.9 MB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1423, allocations: 7.938 kB / 457.9 MB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1425, allocations: 23.88 kB / 457.9 MB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1425, allocations: 11.94 kB / 457.9 MB, free: 9.656 MB / 430.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.0001276/0.1426, allocations: 121.8 kB / 458 MB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1427, allocations: 15.91 kB / 458.1 MB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.1427, allocations: 17.47 kB / 458.1 MB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1427, allocations: 3.984 kB / 458.1 MB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1427, allocations: 7.938 kB / 458.1 MB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1427, allocations: 4 kB / 458.1 MB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.1433, allocations: 389.9 kB / 458.5 MB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1433, allocations: 0 / 458.5 MB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1434, allocations: 15.98 kB / 458.5 MB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1434, allocations: 4 kB / 458.5 MB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1434, allocations: 4 kB / 458.5 MB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.1434, allocations: 3.938 kB / 458.5 MB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1434, allocations: 4 kB / 458.5 MB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.144, allocations: 315.3 kB / 458.8 MB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.144, allocations: 23.83 kB / 458.8 MB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.144, allocations: 7.984 kB / 458.8 MB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1442, allocations: 11.92 kB / 458.8 MB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1443, allocations: 11.98 kB / 458.9 MB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1443, allocations: 7.938 kB / 458.9 MB, free: 8.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1444, allocations: 143.1 kB / 459 MB, free: 8.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 0 / 459 MB, free: 8.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1447, allocations: 36 kB / 459 MB, free: 8.473 MB / 430.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.0001985/0.1449, allocations: 123.2 kB / 459.2 MB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.1452, allocations: 111.8 kB / 459.3 MB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1452, allocations: 0 / 459.3 MB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1454, allocations: 51.92 kB / 459.3 MB, free: 8.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1457, allocations: 27.98 kB / 459.4 MB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.1466, allocations: 319.7 kB / 459.7 MB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.1467, allocations: 102.2 kB / 459.8 MB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.1468, allocations: 21.53 kB / 459.8 MB, free: 7.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.1468, allocations: 20.48 kB / 459.8 MB, free: 7.652 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1468, allocations: 0 / 459.8 MB, free: 7.652 MB / 430.1 MB Notification: Performance of Templates: time 0.006159/0.153, allocations: 2.003 MB / 461.8 MB, free: 5.684 MB / 430.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.63307087298017] Failed to read output from testmodel.py, exit status != 0: 0.1625113720074296 0.178126309 0.03747827 Calling exit ...