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.0008395/0.0008395, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001856, allocations: 435.8 kB / 10.33 MB, free: 368 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.00079/0.00079, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001948, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.115/1.115, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1469/1.262, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.037/0.037, allocations: 8.612 MB / 252.6 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007439/0.04443, allocations: 3.125 MB / 255.7 MB, free: 3.582 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 2.234e-06/2.234e-06, allocations: 0 / 257 MB, free: 2.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.711e-05, allocations: 5.266 kB / 257 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002847/0.002864, allocations: 1.665 MB / 258.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.003332, allocations: 262.9 kB / 258.9 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.003401, allocations: 0 / 258.9 MB, free: 388 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.003438, allocations: 11.88 kB / 258.9 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.00351, allocations: 23.8 kB / 258.9 MB, free: 352 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.00372, allocations: 55.88 kB / 259 MB, free: 296 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.003923, allocations: 107.6 kB / 259.1 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004047, allocations: 26.2 kB / 259.1 MB, free: 160 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004156, allocations: 68.58 kB / 259.2 MB, free: 88 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.004235, allocations: 39.81 kB / 259.2 MB, free: 48 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.004258, allocations: 8 kB / 259.2 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.004366, allocations: 39.97 kB / 259.3 MB, free: 0 / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.004391, allocations: 19.98 kB / 259.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.00442, allocations: 19.94 kB / 259.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004573, allocations: 83.61 kB / 259.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.004591, allocations: 4 kB / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004591, allocations: 0 / 259.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.004607, allocations: 0 / 259.4 MB, free: 15.87 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.0005487/0.005155, allocations: 340 kB / 259.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.005195, allocations: 11.98 kB / 259.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.005236, allocations: 12.92 kB / 259.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.005403, allocations: 146.2 kB / 259.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.005413, allocations: 8.375 kB / 259.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.005438, allocations: 8.375 kB / 259.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.005695, allocations: 86.89 kB / 260 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.005703, allocations: 192 / 260 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.005714, allocations: 7.938 kB / 260 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.00572, allocations: 4 kB / 260 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.005753, allocations: 12 kB / 260 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.006107, allocations: 220.1 kB / 260.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.006207, allocations: 62.55 kB / 260.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.006246, allocations: 36.72 kB / 260.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.006254, allocations: 0 / 260.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.006383, allocations: 87.34 kB / 260.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.006384, allocations: 0 / 260.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001729/0.006557, allocations: 93.47 kB / 260.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.006608, allocations: 59.39 kB / 260.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.006706, allocations: 167.2 kB / 260.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.006721, allocations: 29.7 kB / 260.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.006773, allocations: 108.1 kB / 260.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.006803, allocations: 47.61 kB / 260.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.006842, allocations: 37.66 kB / 260.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.00693, allocations: 326.8 kB / 261.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.006948, allocations: 11.98 kB / 261.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.006994, allocations: 61.98 kB / 261.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.766e-05/0.007071, allocations: 89.84 kB / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.007074, allocations: 0 / 261.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000106/0.00718, allocations: 117.5 kB / 261.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.007198, allocations: 4 kB / 261.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007204, allocations: 0 / 261.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.007213, allocations: 4 kB / 261.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.007373, allocations: 39.92 kB / 261.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007377, allocations: 0 / 261.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.007413, allocations: 20.14 kB / 261.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.007421, allocations: 4 kB / 261.6 MB, free: 13.45 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 0.0002626/0.007684, allocations: 129.6 kB / 261.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.007702, allocations: 15.94 kB / 261.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.007739, allocations: 17.45 kB / 261.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007741, allocations: 0 / 261.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.007743, allocations: 0 / 261.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.007749, allocations: 0 / 261.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.007977, allocations: 254.7 kB / 262 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.00798, allocations: 8 kB / 262 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.008058, allocations: 19.98 kB / 262 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.008071, allocations: 11.91 kB / 262 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.008075, allocations: 3.984 kB / 262 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.008088, allocations: 4 kB / 262.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.00809, allocations: 4 kB / 262.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008091, allocations: 0 / 262.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.008268, allocations: 202.7 kB / 262.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.008288, allocations: 8 kB / 262.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.008325, allocations: 4 kB / 262.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.008365, allocations: 16 kB / 262.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.008372, allocations: 4 kB / 262.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.109e-05/0.008403, allocations: 37.53 kB / 262.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008403, allocations: 3.938 kB / 262.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.008558, allocations: 31.92 kB / 262.4 MB, free: 12.64 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 0.0001236/0.008682, allocations: 88.42 kB / 262.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.008792, allocations: 64.7 kB / 262.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.0088, allocations: 4.375 kB / 262.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.008844, allocations: 40.83 kB / 262.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.009019, allocations: 53.27 kB / 262.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.009615, allocations: 273.2 kB / 262.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.009659, allocations: 67.84 kB / 262.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.009702, allocations: 17.47 kB / 263 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.009764, allocations: 67.38 kB / 263 MB, free: 11.92 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009765, allocations: 4 kB / 263 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Templates: time 0.003502/0.01327, allocations: 1.594 MB / 264.6 MB, free: 10.36 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.721737622283399]