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.002005/0.002005, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002125/0.002125, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.07785/0.07785, allocations: 8.614 MB / 268.2 MB, free: 4.953 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 1.563e-06/1.563e-06, allocations: 0 / 340.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.812e-05, allocations: 6.312 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002385/0.002413, allocations: 1.598 MB / 341.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005174/0.00293, allocations: 243.1 kB / 342 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.003003, allocations: 3.938 kB / 342 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.003037, allocations: 11.88 kB / 342 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003149, allocations: 15.86 kB / 342 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.003413, allocations: 75.73 kB / 342.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.003577, allocations: 103.6 kB / 342.2 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.003692, allocations: 21.61 kB / 342.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.003784, allocations: 59.81 kB / 342.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.003845, allocations: 35.83 kB / 342.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.003868, allocations: 8 kB / 342.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.16e-05/0.003939, allocations: 35.97 kB / 342.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.003965, allocations: 27.86 kB / 342.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.004002, allocations: 27.91 kB / 342.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.004178, allocations: 127.5 kB / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004182, allocations: 0 / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004182, allocations: 0 / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.004189, allocations: 0 / 342.5 MB, free: 6.359 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.0005388/0.004728, allocations: 451.6 kB / 343 MB, free: 5.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.00476, allocations: 8.031 kB / 343 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.004826, allocations: 16.84 kB / 343 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.005, allocations: 158.4 kB / 343.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.005015, allocations: 16.36 kB / 343.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.005041, allocations: 8.312 kB / 343.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.005213, allocations: 90.2 kB / 343.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.005225, allocations: 192 / 343.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.005239, allocations: 4.375 kB / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005244, allocations: 384 / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.005344, allocations: 43.92 kB / 343.3 MB, free: 5.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.005852, allocations: 367.5 kB / 343.7 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.006034, allocations: 107.1 kB / 343.8 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.456e-05/0.006118, allocations: 55.66 kB / 343.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.006136, allocations: 3.938 kB / 343.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.006299, allocations: 113 kB / 343.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.0063, allocations: 0 / 343.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.000378/0.006678, allocations: 181.5 kB / 344.1 MB, free: 4.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.006709, allocations: 51.41 kB / 344.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.006834, allocations: 244.6 kB / 344.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006846, allocations: 33.7 kB / 344.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.006899, allocations: 170.8 kB / 344.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.006922, allocations: 39.67 kB / 344.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.00697, allocations: 43.38 kB / 344.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.007034, allocations: 0.5001 MB / 345.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.007095, allocations: 35.92 kB / 345.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.353e-05/0.007169, allocations: 97.8 kB / 345.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.007302, allocations: 149.5 kB / 345.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007304, allocations: 0 / 345.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002118/0.007516, allocations: 169.4 kB / 345.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.00753, allocations: 4 kB / 345.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.007534, allocations: 4 kB / 345.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.00755, allocations: 4.188 kB / 345.6 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.007679, allocations: 39.92 kB / 345.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.007686, allocations: 4 kB / 345.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.007738, allocations: 7.953 kB / 345.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.007748, allocations: 8 kB / 345.7 MB, free: 2.922 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 6.916e-05/0.007817, allocations: 179.1 kB / 345.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.007843, allocations: 19.88 kB / 345.9 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.00788, allocations: 17.47 kB / 345.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007882, allocations: 0 / 345.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.007886, allocations: 0 / 345.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.00789, allocations: 8 kB / 345.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.00822, allocations: 425.2 kB / 346.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.008222, allocations: 0 / 346.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.008308, allocations: 23.98 kB / 346.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.00831, allocations: 0 / 346.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.008323, allocations: 0 / 346.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.008325, allocations: 4 kB / 346.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008326, allocations: 3.984 kB / 346.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.008652, allocations: 343.7 kB / 346.7 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.008671, allocations: 7.984 kB / 346.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.008695, allocations: 4 kB / 346.7 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.008764, allocations: 11.94 kB / 346.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.00881, allocations: 7.984 kB / 346.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.008822, allocations: 11.97 kB / 346.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.884e-05/0.00889, allocations: 176.8 kB / 346.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008891, allocations: 0 / 346.9 MB, free: 1.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.009144, allocations: 27.94 kB / 346.9 MB, free: 1.609 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.0001212/0.009265, allocations: 107.2 kB / 347 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.009489, allocations: 119 kB / 347.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.009491, allocations: 0 / 347.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.009579, allocations: 59.61 kB / 347.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.009893, allocations: 27.91 kB / 347.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.01053, allocations: 290.8 kB / 347.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.085e-05/0.01058, allocations: 98.12 kB / 347.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.01063, allocations: 21.42 kB / 347.6 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.01066, allocations: 20.5 kB / 347.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01066, allocations: 0 / 347.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of Templates: time 0.005081/0.01574, allocations: 1.447 MB / 349.1 MB, free: 15.39 MB / 282.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: 4.490191343007609]