Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01006/0.01006, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.00193/0.00193, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.693/1.693, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3948/0.3948, allocations: 39.95 MB / 309.8 MB, free: 9.316 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.2. 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.001726/0.001726, allocations: 67.91 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4402, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005448/0.4457, allocations: 3.341 MB / 496 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.4499, allocations: 1.586 MB / 497.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.4506, allocations: 24.06 kB / 497.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.4515, allocations: 145.2 kB / 497.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.4521, allocations: 198.7 kB / 497.9 MB, free: 15.73 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.001733/0.4538, allocations: 0.5175 MB / 498.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.4552, allocations: 0.919 MB / 499.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.4557, allocations: 239.9 kB / 499.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.4563, allocations: 371.6 kB / 500 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006092/0.4569, allocations: 396.5 kB / 0.4886 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.457, allocations: 66.78 kB / 0.4887 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.4572, allocations: 64.41 kB / 0.4888 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.4574, allocations: 201.8 kB / 0.4889 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.4578, allocations: 347.4 kB / 0.4893 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.4588, allocations: 0.7865 MB / 0.49 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4588, allocations: 0.8438 kB / 0.49 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4588, allocations: 0 / 0.49 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4588, allocations: 0 / 0.49 GB, free: 13.82 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.002708/0.4615, allocations: 1.164 MB / 0.4912 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.4616, allocations: 12.73 kB / 0.4912 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.4618, allocations: 93.73 kB / 0.4913 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4629, allocations: 0.5851 MB / 0.4919 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.4629, allocations: 38 kB / 0.4919 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4631, allocations: 62.97 kB / 0.492 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.4643, allocations: 0.6078 MB / 0.4925 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.4643, allocations: 1.375 kB / 0.4925 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.4644, allocations: 21.5 kB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.4644, allocations: 11 kB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4656, allocations: 468.3 kB / 0.493 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/0.4693, allocations: 2.658 MB / 0.4956 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.4704, allocations: 0.5429 MB / 0.4962 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.471, allocations: 253.2 kB / 0.4964 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.4711, allocations: 5.406 kB / 0.4964 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4711, allocations: 44.84 kB / 0.4964 GB, free: 9.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.4711, allocations: 1 kB / 0.4964 GB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002484/0.4736, allocations: 1.129 MB / 0.4975 GB, free: 8.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.4737, allocations: 141.9 kB / 0.4977 GB, free: 8.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008923/0.4746, allocations: 0.6562 MB / 0.4983 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.4746, allocations: 35.02 kB / 0.4984 GB, free: 8.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.4749, allocations: 361.9 kB / 0.4987 GB, free: 7.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.475, allocations: 178.1 kB / 0.4989 GB, free: 7.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4752, allocations: 110.5 kB / 0.499 GB, free: 7.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.4753, allocations: 332 kB / 0.4993 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.4759, allocations: 275.7 kB / 0.4996 GB, free: 7.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007246/0.4767, allocations: 423.3 kB / 0.5 GB, free: 6.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.478, allocations: 0.6819 MB / 0.5006 GB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.478, allocations: 0.9688 kB / 0.5006 GB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001643/0.4796, allocations: 0.7899 MB / 0.5014 GB, free: 6.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.4797, allocations: 8.594 kB / 0.5014 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4797, allocations: 8.562 kB / 0.5014 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.4797, allocations: 15.44 kB / 0.5014 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/0.4804, allocations: 151.3 kB / 0.5016 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4804, allocations: 12.47 kB / 0.5016 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.481, allocations: 73.78 kB / 0.5017 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.481, allocations: 26.66 kB / 0.5017 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007353/0.4818, allocations: 412.5 kB / 0.5021 GB, free: 5.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006498/0.4824, allocations: 420.4 kB / 0.5025 GB, free: 5.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/0.4836, allocations: 0.6579 MB / 0.5031 GB, free: 5.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.4836, allocations: 1.031 kB / 0.5031 GB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001504/0.4851, allocations: 0.7725 MB / 0.5039 GB, free: 4.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4851, allocations: 6.531 kB / 0.5039 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4851, allocations: 4.906 kB / 0.5039 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4852, allocations: 12.19 kB / 0.5039 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.4858, allocations: 144.8 kB / 0.504 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4858, allocations: 15.2 kB / 0.504 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.4863, allocations: 72.42 kB / 0.5041 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.4864, allocations: 21.62 kB / 0.5041 GB, free: 4.57 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.0001951/0.4866, allocations: 226.5 kB / 0.5044 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.4867, allocations: 82.56 kB / 0.5044 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.4869, allocations: 84.48 kB / 0.5045 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4869, allocations: 5.469 kB / 0.5045 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.487, allocations: 0 / 0.5045 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.487, allocations: 5.391 kB / 0.5045 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.4884, allocations: 0.8641 MB / 0.5054 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.4884, allocations: 1.25 kB / 0.5054 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.489, allocations: 102.7 kB / 0.5055 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.489, allocations: 7.266 kB / 0.5055 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.4891, allocations: 12.97 kB / 0.5055 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4891, allocations: 3.125 kB / 0.5055 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4891, allocations: 5.094 kB / 0.5055 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.4914, allocations: 1.132 MB / 0.5066 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.4917, allocations: 194.9 kB / 0.5068 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.4918, allocations: 14.59 kB / 0.5068 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.4923, allocations: 48.91 kB / 0.5068 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4924, allocations: 36.55 kB / 0.5069 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.4925, allocations: 12.92 kB / 0.5069 GB, free: 2.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007116/0.4932, allocations: 461.1 kB / 0.5073 GB, free: 2.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4932, allocations: 0 / 0.5073 GB, free: 2.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000906/0.4941, allocations: 197 kB / 0.5075 GB, free: 2.293 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.0001513/0.4943, allocations: 118.7 kB / 0.5076 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.4965, allocations: 0.9609 MB / 0.5086 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4965, allocations: 5.594 kB / 0.5086 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.4971, allocations: 290.9 kB / 0.5089 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4982, allocations: 195.7 kB / 0.509 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.5006, allocations: 1.487 MB / 0.5105 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.501, allocations: 0.9465 MB / 0.5114 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004896/0.5015, allocations: 155.9 kB / 0.5116 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5017, allocations: 47.5 kB / 0.5116 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5017, allocations: 1.156 kB / 0.5116 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Templates: time 0.01621/0.5179, allocations: 7.755 MB / 0.5192 GB, free: 8.586 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1)