Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007781/0.007781, allocations: 102.1 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 191.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3987/0.3987, allocations: 38 MB / 307.9 MB, free: 10.11 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4874, allocations: 56.46 MB / 489.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005797/0.4933, allocations: 3.339 MB / 492.8 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.4975, allocations: 1.579 MB / 494.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.4982, allocations: 23.19 kB / 494.4 MB, free: 16.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006636/0.4989, allocations: 146.2 kB / 494.5 MB, free: 16.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.4995, allocations: 197.3 kB / 494.7 MB, free: 16.33 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.5016, allocations: 0.5279 MB / 495.3 MB, free: 16.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.5036, allocations: 0.9258 MB / 496.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005246/0.5041, allocations: 239.6 kB / 496.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.505, allocations: 368.3 kB / 496.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007491/0.5058, allocations: 399.6 kB / 497.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.5059, allocations: 62.16 kB / 497.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.5061, allocations: 65.03 kB / 497.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5064, allocations: 197.2 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.5068, allocations: 348.2 kB / 497.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.5079, allocations: 0.7909 MB / 498.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.508, allocations: 0 / 498.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.508, allocations: 0 / 498.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.508, allocations: 0 / 498.6 MB, free: 14.4 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002845/0.5109, allocations: 1.165 MB / 499.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.949e-05/0.5109, allocations: 13.48 kB / 499.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.5112, allocations: 91.81 kB / 499.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.5126, allocations: 0.581 MB / 0.4887 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.5127, allocations: 38 kB / 0.4888 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.5129, allocations: 60.84 kB / 0.4888 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5145, allocations: 0.6119 MB / 0.4894 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5145, allocations: 2.031 kB / 0.4894 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.5146, allocations: 19.84 kB / 0.4894 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5146, allocations: 11.41 kB / 0.4895 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.5159, allocations: 464.7 kB / 0.4899 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.5202, allocations: 2.657 MB / 0.4925 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.5214, allocations: 0.5497 MB / 0.493 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.5219, allocations: 246.4 kB / 0.4933 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.522, allocations: 14.94 kB / 0.4933 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.522, allocations: 41.12 kB / 0.4933 GB, free: 10.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.585e-06/0.5221, allocations: 0 / 0.4933 GB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002913/0.525, allocations: 1.13 MB / 0.4944 GB, free: 9.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.5251, allocations: 134.9 kB / 0.4945 GB, free: 9.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5265, allocations: 0.6579 MB / 0.4952 GB, free: 9.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.5265, allocations: 36.92 kB / 0.4952 GB, free: 9.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.527, allocations: 362.3 kB / 0.4956 GB, free: 9.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.5272, allocations: 169.5 kB / 0.4957 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.5276, allocations: 121.7 kB / 0.4958 GB, free: 8.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5277, allocations: 335.6 kB / 0.4962 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.5287, allocations: 270.4 kB / 0.4964 GB, free: 8.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009834/0.5297, allocations: 430.9 kB / 0.4968 GB, free: 8.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.531, allocations: 0.6765 MB / 0.4975 GB, free: 7.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.5311, allocations: 1.312 kB / 0.4975 GB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001721/0.5328, allocations: 0.7907 MB / 0.4983 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.5328, allocations: 7.062 kB / 0.4983 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5328, allocations: 4.719 kB / 0.4983 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.5329, allocations: 7.688 kB / 0.4983 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.5336, allocations: 159.6 kB / 0.4984 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.5336, allocations: 8.625 kB / 0.4984 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.5342, allocations: 77.56 kB / 0.4985 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5343, allocations: 21.62 kB / 0.4985 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008817/0.5352, allocations: 413 kB / 0.4989 GB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007044/0.5359, allocations: 416.4 kB / 0.4993 GB, free: 6.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001284/0.5372, allocations: 0.666 MB / 0.5 GB, free: 6.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.5372, allocations: 1 kB / 0.5 GB, free: 6.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001717/0.539, allocations: 0.7679 MB / 0.5007 GB, free: 6.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.539, allocations: 7.656 kB / 0.5007 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.539, allocations: 4.75 kB / 0.5007 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.539, allocations: 11.12 kB / 0.5008 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.5396, allocations: 141 kB / 0.5009 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.5397, allocations: 15.5 kB / 0.5009 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.5402, allocations: 76.12 kB / 0.501 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.5402, allocations: 23 kB / 0.501 GB, free: 5.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001969/0.5404, allocations: 216.7 kB / 0.5012 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.5406, allocations: 78.88 kB / 0.5013 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.5408, allocations: 93.69 kB / 0.5014 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5409, allocations: 12.75 kB / 0.5014 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.5409, allocations: 1.328 kB / 0.5014 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.5409, allocations: 7.969 kB / 0.5014 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.5423, allocations: 0.8574 MB / 0.5022 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5423, allocations: 0 / 0.5022 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.5429, allocations: 107.8 kB / 0.5023 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5429, allocations: 2.281 kB / 0.5023 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.543, allocations: 14.23 kB / 0.5023 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.543, allocations: 2.281 kB / 0.5024 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.543, allocations: 0 / 0.5024 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.5449, allocations: 1.14 MB / 0.5035 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.5452, allocations: 191.9 kB / 0.5036 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.5453, allocations: 13.48 kB / 0.5037 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.5458, allocations: 54.02 kB / 0.5037 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.5459, allocations: 40.47 kB / 0.5038 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.546, allocations: 9.5 kB / 0.5038 GB, free: 3.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006404/0.5466, allocations: 465.3 kB / 0.5042 GB, free: 3.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5466, allocations: 4 kB / 0.5042 GB, free: 3.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008582/0.5475, allocations: 193 kB / 0.5044 GB, free: 3.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.0001595/0.5476, allocations: 113.2 kB / 0.5045 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.5499, allocations: 0.9651 MB / 0.5054 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5499, allocations: 1.062 kB / 0.5054 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.5505, allocations: 290 kB / 0.5057 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5516, allocations: 205.8 kB / 0.5059 GB, free: 2.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.5543, allocations: 1.478 MB / 0.5074 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.5548, allocations: 0.9466 MB / 0.5083 GB, free: 1.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.5553, allocations: 156.8 kB / 0.5084 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.5555, allocations: 47.09 kB / 0.5085 GB, free: 1.125 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5555, allocations: 0 / 0.5085 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Templates: time 0.01677/0.5723, allocations: 7.748 MB / 0.516 GB, free: 11.78 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1)