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.001319/0.001319, allocations: 78.25 kB / 19.18 MB, free: 2.512 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.001454/0.001454, allocations: 163.7 kB / 22.46 MB, free: 5.367 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.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.145 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.0647/0.0647, allocations: 8.612 MB / 267.8 MB, free: 8.535 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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.339e-05, allocations: 2.281 kB / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003056/0.003089, allocations: 1.587 MB / 397.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.00374, allocations: 235.2 kB / 397.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.003832, allocations: 8 kB / 397.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.003881, allocations: 11.81 kB / 397.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.004002, allocations: 15.86 kB / 397.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.004365, allocations: 71.73 kB / 397.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.004582, allocations: 103.7 kB / 397.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.004713, allocations: 13.62 kB / 397.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.004829, allocations: 63.75 kB / 397.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.004918, allocations: 47.75 kB / 397.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.004946, allocations: 8 kB / 397.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.005036, allocations: 31.98 kB / 397.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.005078, allocations: 27.84 kB / 397.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.005129, allocations: 23.92 kB / 397.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.005373, allocations: 123.6 kB / 397.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.005376, allocations: 0 / 397.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.005379, allocations: 4 kB / 397.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.005389, allocations: 0 / 397.9 MB, free: 4.297 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007615/0.006151, allocations: 349.7 kB / 398.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.006196, allocations: 8.031 kB / 398.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.006255, allocations: 16.84 kB / 398.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.00653, allocations: 154.2 kB / 398.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.006548, allocations: 4.375 kB / 398.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.006588, allocations: 8.375 kB / 398.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.006832, allocations: 94.19 kB / 398.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.006845, allocations: 192 / 398.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.006858, allocations: 384 / 398.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006863, allocations: 384 / 398.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.007008, allocations: 55.84 kB / 398.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.007642, allocations: 308.3 kB / 398.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.00789, allocations: 98.58 kB / 399 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.008009, allocations: 52.84 kB / 399.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.008026, allocations: 3.938 kB / 399.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.008291, allocations: 107.3 kB / 399.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.008293, allocations: 4 kB / 399.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004794/0.008773, allocations: 185.5 kB / 399.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.008828, allocations: 55.41 kB / 399.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.00901, allocations: 175.2 kB / 399.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.009041, allocations: 33.64 kB / 399.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.009133, allocations: 120.1 kB / 399.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.009172, allocations: 35.69 kB / 399.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.009234, allocations: 37.7 kB / 399.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.009395, allocations: 326.8 kB / 400.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.009503, allocations: 39.97 kB / 400.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.009623, allocations: 80.69 kB / 400.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.009842, allocations: 133.1 kB / 400.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.009847, allocations: 4 kB / 400.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003013/0.01015, allocations: 165.5 kB / 400.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01017, allocations: 4 kB / 400.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01017, allocations: 4 kB / 400.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.01019, allocations: 0 / 400.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.01034, allocations: 31.92 kB / 400.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.01035, allocations: 7.984 kB / 400.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.084e-05/0.01042, allocations: 11.95 kB / 400.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01043, allocations: 4 kB / 400.6 MB, free: 1.414 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,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.000126/0.01056, allocations: 129.7 kB / 400.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.01059, allocations: 27.89 kB / 400.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.01064, allocations: 17.47 kB / 400.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01064, allocations: 0 / 400.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.01065, allocations: 0 / 400.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01065, allocations: 0 / 400.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.01117, allocations: 374.1 kB / 401.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01117, allocations: 4 kB / 401.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01127, allocations: 15.98 kB / 401.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.01127, allocations: 0 / 401.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01129, allocations: 4 kB / 401.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01129, allocations: 4 kB / 401.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01129, allocations: 0 / 401.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.01177, allocations: 302.9 kB / 401.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.01179, allocations: 15.94 kB / 401.5 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.01182, allocations: 4 kB / 401.5 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.0119, allocations: 0 / 401.5 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.01195, allocations: 11.98 kB / 401.5 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01197, allocations: 11.92 kB / 401.5 MB, free: 464 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.01208, allocations: 124 kB / 401.6 MB, free: 340 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01208, allocations: 4.062 kB / 401.6 MB, free: 336 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.01237, allocations: 27.94 kB / 401.6 MB, free: 308 kB / 318.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.0002063/0.01257, allocations: 115.2 kB / 401.8 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.01285, allocations: 95.83 kB / 401.8 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01285, allocations: 0 / 401.8 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01297, allocations: 47.98 kB / 401.9 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.01332, allocations: 41.02 kB / 401.9 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.01415, allocations: 282 kB / 402.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.01425, allocations: 93.8 kB / 402.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.01432, allocations: 17.48 kB / 402.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.01436, allocations: 20.5 kB / 402.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.01436, allocations: 0 / 402.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Templates: time 0.005284/0.01964, allocations: 1.425 MB / 403.8 MB, free: 14.15 MB / 334.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3367509841918945] Failed to read output from testmodel.py, exit status != 0: 0.02886117994785309 0.045241557 0.036707290000000004 Calling exit ...