Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.0007522/0.0007522, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001181/0.001933, 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.0007217/0.0007217, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009084/0.00163, 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 0.997/0.997, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0975/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.05388/0.05388, allocations: 9.79 MB / 253.8 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006281/0.06016, allocations: 3.472 MB / 257.2 MB, free: 2.117 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 258.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.156e-05, allocations: 5.688 kB / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.003024/0.003046, allocations: 1.727 MB / 260.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005542/0.0036, allocations: 366.6 kB / 260.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.003651, allocations: 3.938 kB / 260.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.003679, allocations: 11.81 kB / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.003742, allocations: 23.8 kB / 260.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.004008, allocations: 111.6 kB / 260.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.004161, allocations: 155.5 kB / 260.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.004264, allocations: 22.44 kB / 260.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.004423, allocations: 120.4 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.004521, allocations: 55.8 kB / 261.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.004553, allocations: 16 kB / 261.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.004681, allocations: 79.92 kB / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.004708, allocations: 27.88 kB / 261.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.004747, allocations: 43.86 kB / 261.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.004942, allocations: 159.4 kB / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.004954, allocations: 0 / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004955, allocations: 0 / 261.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.004965, allocations: 0 / 261.4 MB, free: 13.93 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000519/0.005484, allocations: 419.7 kB / 261.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.005525, allocations: 12.03 kB / 261.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.005567, allocations: 20.91 kB / 261.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.005727, allocations: 158.9 kB / 262 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.005738, allocations: 8.562 kB / 262 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.005766, allocations: 20.36 kB / 262 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.005988, allocations: 254.4 kB / 262.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005996, allocations: 0 / 262.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.006008, allocations: 8 kB / 262.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.006013, allocations: 0 / 262.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.00606, allocations: 27.92 kB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.006481, allocations: 268 kB / 262.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006596, allocations: 78.45 kB / 262.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.006639, allocations: 36.75 kB / 262.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.006648, allocations: 4 kB / 262.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.006794, allocations: 114.2 kB / 262.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.006796, allocations: 0 / 262.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001848/0.006981, allocations: 133.6 kB / 262.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.007019, allocations: 59.39 kB / 263 MB, free: 12.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.007125, allocations: 187.5 kB / 263.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.007145, allocations: 33.7 kB / 263.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.007194, allocations: 108.5 kB / 263.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.007234, allocations: 71.44 kB / 263.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.007285, allocations: 61.61 kB / 263.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.007365, allocations: 334.8 kB / 263.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.007392, allocations: 16.28 kB / 263.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.007499, allocations: 243.8 kB / 264 MB, free: 11.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.007636, allocations: 178.9 kB / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007639, allocations: 0 / 264.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001612/0.0078, allocations: 164.4 kB / 264.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.007813, allocations: 7.938 kB / 264.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.00782, allocations: 4 kB / 264.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.007834, allocations: 11.92 kB / 264.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.008068, allocations: 75.89 kB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.008074, allocations: 4 kB / 264.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.008137, allocations: 19.89 kB / 264.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.008148, allocations: 8 kB / 264.5 MB, free: 10.53 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) \"Input sample one step ago u[n-1]\" type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) \"Input sample one step ago u[n-1]\" type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) \"Input sample one step ago u[n-1]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001365/0.008284, allocations: 156.1 kB / 264.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.008308, allocations: 15.98 kB / 264.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.008343, allocations: 25.73 kB / 264.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008347, allocations: 4 kB / 264.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.00835, allocations: 0 / 264.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008353, allocations: 0 / 264.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.00861, allocations: 301.8 kB / 265 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.008612, allocations: 0 / 265 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.008736, allocations: 31.97 kB / 265 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.008758, allocations: 31.8 kB / 265 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.00876, allocations: 0 / 265 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.008774, allocations: 4 kB / 265 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008776, allocations: 0 / 265 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.008777, allocations: 0 / 265 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.008984, allocations: 246.5 kB / 265.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.00901, allocations: 8 kB / 265.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.009068, allocations: 11.98 kB / 265.3 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.0091, allocations: 7.984 kB / 265.3 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.009111, allocations: 15.92 kB / 265.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.956e-05/0.00915, allocations: 56.66 kB / 265.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00915, allocations: 0 / 265.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.009341, allocations: 59.92 kB / 265.4 MB, free: 9.531 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001303/0.009471, allocations: 116.3 kB / 265.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.009621, allocations: 112.6 kB / 265.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.00963, allocations: 4.75 kB / 265.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.009679, allocations: 48.78 kB / 265.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.00985, allocations: 59.72 kB / 265.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.01036, allocations: 323.7 kB / 266.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.0104, allocations: 72.59 kB / 266.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.588e-05/0.01046, allocations: 29.88 kB / 266.2 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.01055, allocations: 91.34 kB / 266.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01055, allocations: 0 / 266.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of Templates: time 0.004415/0.01496, allocations: 2.831 MB / 269.1 MB, free: 5.887 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.64661087654531]