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.0006471/0.0006471, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008556/0.001503, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006456/0.0006456, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008216/0.001467, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9601/0.9601, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08812/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.03537/0.03537, allocations: 8.617 MB / 252.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005181/0.04055, allocations: 3.129 MB / 255.9 MB, free: 3.484 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.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 7.61e-07/7.61e-07, allocations: 3.938 kB / 257.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.245e-06/9.006e-06, allocations: 2.312 kB / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.001779/0.001788, allocations: 1.673 MB / 258.8 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003199/0.002108, allocations: 255 kB / 259.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.002137, allocations: 0 / 259.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.002153, allocations: 7.875 kB / 259.1 MB, free: 256 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.002191, allocations: 27.8 kB / 259.1 MB, free: 228 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.002293, allocations: 63.81 kB / 259.2 MB, free: 164 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.002382, allocations: 99.69 kB / 259.3 MB, free: 64 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.00244, allocations: 26.2 kB / 259.3 MB, free: 36 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.002536, allocations: 72.5 kB / 259.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.002591, allocations: 35.89 kB / 259.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.002608, allocations: 8 kB / 259.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.002675, allocations: 35.97 kB / 259.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.002692, allocations: 23.81 kB / 259.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.002713, allocations: 23.94 kB / 259.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.393e-05/0.002806, allocations: 75.73 kB / 259.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.002812, allocations: 0 / 259.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002813, allocations: 4 kB / 259.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.00282, allocations: 0 / 259.6 MB, free: 15.76 MB / 266.7 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.0002964/0.003116, allocations: 351.8 kB / 259.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.023e-05/0.003136, allocations: 8.031 kB / 259.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.003159, allocations: 12.94 kB / 260 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.797e-05/0.003247, allocations: 142.2 kB / 260.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.003254, allocations: 8.375 kB / 260.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.003269, allocations: 8.375 kB / 260.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/0.003348, allocations: 90.89 kB / 260.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-06/0.003352, allocations: 4.125 kB / 260.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003359, allocations: 3.938 kB / 260.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003364, allocations: 4 kB / 260.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.003387, allocations: 12 kB / 260.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.003604, allocations: 216.1 kB / 260.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.003677, allocations: 62.48 kB / 260.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.003706, allocations: 32.78 kB / 260.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-06/0.003711, allocations: 0 / 260.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.865e-05/0.00379, allocations: 91.33 kB / 260.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 7.42e-07/0.003791, allocations: 0 / 260.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001093/0.0039, allocations: 89.59 kB / 260.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.003925, allocations: 59.41 kB / 260.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.003995, allocations: 159.3 kB / 260.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.004007, allocations: 33.7 kB / 261 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.004042, allocations: 100.1 kB / 261 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.004063, allocations: 47.67 kB / 261.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.004096, allocations: 41.64 kB / 261.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.004161, allocations: 326.8 kB / 261.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.004175, allocations: 8 kB / 261.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.004212, allocations: 65.92 kB / 261.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.004282, allocations: 93.89 kB / 261.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.004283, allocations: 4 kB / 261.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 8.539e-05/0.004368, allocations: 113 kB / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.004377, allocations: 8 kB / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.00438, allocations: 0 / 261.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.004387, allocations: 4 kB / 261.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.004481, allocations: 35.97 kB / 261.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.004484, allocations: 11.88 kB / 261.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.004511, allocations: 12.14 kB / 261.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.004516, allocations: 8 kB / 261.8 MB, free: 13.34 MB / 266.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,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 5.225e-05/0.004569, allocations: 125.7 kB / 261.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.004582, allocations: 11.98 kB / 261.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.004604, allocations: 17.47 kB / 262 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.004607, allocations: 4 kB / 262 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.004608, allocations: 3.938 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.004612, allocations: 3.984 kB / 262 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.004777, allocations: 250.7 kB / 262.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.004779, allocations: 4 kB / 262.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.004836, allocations: 23.98 kB / 262.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.004849, allocations: 11.91 kB / 262.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.00485, allocations: 0 / 262.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.004857, allocations: 7.938 kB / 262.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.004859, allocations: 0 / 262.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.004859, allocations: 0 / 262.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.004994, allocations: 203.4 kB / 262.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.005009, allocations: 3.984 kB / 262.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.005043, allocations: 4 kB / 262.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.005067, allocations: 11.98 kB / 262.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.005071, allocations: 4.031 kB / 262.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.79e-05/0.005099, allocations: 46.44 kB / 262.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005099, allocations: 0 / 262.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001333/0.005232, allocations: 31.94 kB / 262.6 MB, free: 12.53 MB / 266.7 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 8.006e-05/0.005312, allocations: 96.33 kB / 262.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.005392, allocations: 68.75 kB / 262.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.005398, allocations: 4.562 kB / 262.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-05/0.005445, allocations: 52.59 kB / 262.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.005626, allocations: 163.6 kB / 262.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.006082, allocations: 273.2 kB / 263.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.222e-05/0.006114, allocations: 71.83 kB / 263.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.375e-05/0.006148, allocations: 17.48 kB / 263.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.006199, allocations: 63.38 kB / 263.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.006199, allocations: 0 / 263.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of Templates: time 0.002994/0.009194, allocations: 1.566 MB / 264.9 MB, free: 10.12 MB / 266.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.308373781852424]