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.00144/0.00144, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001538/0.001538, allocations: 155.6 kB / 23 MB, free: 4.602 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.53/1.53, allocations: 177.2 MB / 203.4 MB, free: 8.922 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.06181/0.06181, allocations: 8.612 MB / 268.4 MB, free: 8.539 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.002433/0.002433, allocations: 71.89 kB / 396.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1324, allocations: 56.05 MB / 452.1 MB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003261/0.1357, allocations: 1.587 MB / 453.7 MB, free: 14.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.1363, allocations: 239.1 kB / 453.9 MB, free: 13.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1364, allocations: 0 / 453.9 MB, free: 13.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.928e-05/0.1365, allocations: 7.875 kB / 453.9 MB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.1366, allocations: 23.86 kB / 454 MB, free: 13.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.137, allocations: 71.8 kB / 454 MB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1372, allocations: 99.7 kB / 454.1 MB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1373, allocations: 21.61 kB / 454.2 MB, free: 13.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.1374, allocations: 35.8 kB / 454.2 MB, free: 13.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1375, allocations: 51.69 kB / 454.2 MB, free: 13.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1375, allocations: 8 kB / 454.2 MB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1376, allocations: 27.98 kB / 454.3 MB, free: 13.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.1377, allocations: 31.86 kB / 454.3 MB, free: 13.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.1377, allocations: 39.72 kB / 454.3 MB, free: 13.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.138, allocations: 111.5 kB / 454.5 MB, free: 13.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.138, allocations: 0 / 454.5 MB, free: 13.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.138, allocations: 4 kB / 454.5 MB, free: 13.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.138, allocations: 0 / 454.5 MB, free: 13.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006569/0.1386, allocations: 349.6 kB / 454.8 MB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1387, allocations: 12.03 kB / 454.8 MB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.1387, allocations: 12.84 kB / 454.8 MB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.139, allocations: 154.3 kB / 455 MB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.139, allocations: 16.34 kB / 455 MB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.139, allocations: 12.38 kB / 455 MB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1392, allocations: 86.2 kB / 455.1 MB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1392, allocations: 192 / 455.1 MB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1392, allocations: 7.938 kB / 455.1 MB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1393, allocations: 4 kB / 455.1 MB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1394, allocations: 50.58 kB / 455.1 MB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.14, allocations: 300.3 kB / 455.4 MB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1403, allocations: 114.5 kB / 455.6 MB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.1404, allocations: 56.77 kB / 455.6 MB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1404, allocations: 4 kB / 455.6 MB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.1407, allocations: 103.4 kB / 455.7 MB, free: 12.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.1407, allocations: 0 / 455.7 MB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004455/0.1411, allocations: 191.4 kB / 455.9 MB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1412, allocations: 55.39 kB / 456 MB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1414, allocations: 163.3 kB / 456.1 MB, free: 11.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1414, allocations: 37.7 kB / 456.1 MB, free: 11.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.1415, allocations: 108 kB / 456.3 MB, free: 11.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1415, allocations: 43.83 kB / 456.3 MB, free: 11.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.1416, allocations: 37.7 kB / 456.3 MB, free: 11.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1418, allocations: 326.8 kB / 456.7 MB, free: 11.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.1418, allocations: 27.98 kB / 456.7 MB, free: 11.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.142, allocations: 89.88 kB / 456.8 MB, free: 10.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.1422, allocations: 133.2 kB / 456.9 MB, free: 10.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1422, allocations: 0 / 456.9 MB, free: 10.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002766/0.1425, allocations: 157.4 kB / 457.1 MB, free: 10.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1425, allocations: 8 kB / 457.1 MB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1425, allocations: 4.188 kB / 457.1 MB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1425, allocations: 7.938 kB / 457.1 MB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1426, allocations: 23.98 kB / 457.1 MB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1426, allocations: 4 kB / 457.1 MB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.1427, allocations: 15.92 kB / 457.1 MB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1427, allocations: 8 kB / 457.1 MB, free: 10.54 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,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.0001114/0.1428, allocations: 129.7 kB / 457.2 MB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.1429, allocations: 11.91 kB / 457.3 MB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.1429, allocations: 17.47 kB / 457.3 MB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1429, allocations: 4 kB / 457.3 MB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1429, allocations: 0 / 457.3 MB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1429, allocations: 3.984 kB / 457.3 MB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1434, allocations: 382 kB / 457.7 MB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1434, allocations: 0 / 457.7 MB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.934e-05/0.1435, allocations: 15.98 kB / 457.7 MB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1435, allocations: 4 kB / 457.7 MB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1435, allocations: 4 kB / 457.7 MB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1435, allocations: 0 / 457.7 MB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1435, allocations: 0 / 457.7 MB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.144, allocations: 299.3 kB / 458 MB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.144, allocations: 7.984 kB / 458 MB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.144, allocations: 8 kB / 458 MB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.1441, allocations: 3.984 kB / 458 MB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.1442, allocations: 15.92 kB / 458 MB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1442, allocations: 7.984 kB / 458 MB, free: 9.586 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1443, allocations: 128.9 kB / 458.1 MB, free: 9.461 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1443, allocations: 0 / 458.1 MB, free: 9.461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1446, allocations: 31.92 kB / 458.2 MB, free: 9.43 MB / 430.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.0001588/0.1447, allocations: 123.1 kB / 458.3 MB, free: 9.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.145, allocations: 107.5 kB / 458.4 MB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.145, allocations: 0 / 458.4 MB, free: 9.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1451, allocations: 51.91 kB / 458.4 MB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1454, allocations: 27.97 kB / 458.5 MB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.1462, allocations: 287.7 kB / 458.8 MB, free: 8.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/0.1462, allocations: 93.81 kB / 458.8 MB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.963e-05/0.1463, allocations: 13.48 kB / 458.9 MB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1463, allocations: 16.5 kB / 458.9 MB, free: 8.672 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1463, allocations: 4 kB / 458.9 MB, free: 8.668 MB / 430.1 MB Notification: Performance of Templates: time 0.004762/0.1511, allocations: 1.425 MB / 460.3 MB, free: 7.277 MB / 430.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.726250496925786] Failed to read output from testmodel.py, exit status != 0: 0.1608663620427251 0.17889300700000002 0.037195942 Calling exit ...