Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007977/0.0007978, allocations: 91.52 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3269/0.3269, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.482e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 58.84 MB / 484.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4837, allocations: 85.76 MB / 0.5565 GB, free: 3.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.4839, allocations: 63.97 kB / 0.5566 GB, free: 3.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004279/0.4882, allocations: 1.693 MB / 0.5583 GB, free: 1.512 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4882, allocations: 0 / 0.5583 GB, free: 1.512 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4882, allocations: 4 kB / 0.5583 GB, free: 1.508 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003543/0.4886, allocations: 373.9 kB / 0.5586 GB, free: 1.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4886, allocations: 12.03 kB / 0.5586 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.4887, allocations: 15.34 kB / 0.5586 GB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.4889, allocations: 210.8 kB / 0.5589 GB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4889, allocations: 4 kB / 0.5589 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.489, allocations: 8 kB / 0.5589 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.4891, allocations: 82.78 kB / 0.5589 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4891, allocations: 0 / 0.5589 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4892, allocations: 5.375 kB / 0.5589 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4892, allocations: 4 kB / 0.5589 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.4893, allocations: 39.97 kB / 0.559 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.4897, allocations: 380.3 kB / 0.5594 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.4898, allocations: 50.56 kB / 0.5594 GB, free: 216 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.4898, allocations: 24.12 kB / 0.5594 GB, free: 192 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.4899, allocations: 4 kB / 0.5594 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.49, allocations: 103.2 kB / 0.5595 GB, free: 72 kB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.49, allocations: 0 / 0.5595 GB, free: 72 kB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002214/0.4903, allocations: 97.52 kB / 0.5596 GB, free: 15.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4903, allocations: 51.41 kB / 0.5597 GB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4904, allocations: 129.2 kB / 0.5598 GB, free: 15.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.4904, allocations: 25.7 kB / 0.5598 GB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.4905, allocations: 104.3 kB / 0.5599 GB, free: 15.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4905, allocations: 27.64 kB / 0.5599 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.4906, allocations: 0 / 0.5599 GB, free: 15.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.4907, allocations: 318.8 kB / 0.5602 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.4907, allocations: 23.98 kB / 0.5603 GB, free: 15.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.4908, allocations: 79.33 kB / 0.5603 GB, free: 15.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.4909, allocations: 31.98 kB / 0.5604 GB, free: 15.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4909, allocations: 4 kB / 0.5604 GB, free: 15.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000181/0.491, allocations: 129.3 kB / 0.5605 GB, free: 14.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4911, allocations: 8.625 kB / 0.5605 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4911, allocations: 3.953 kB / 0.5605 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4911, allocations: 4 kB / 0.5605 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.4912, allocations: 27.92 kB / 0.5605 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4913, allocations: 4.219 kB / 0.5605 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.4913, allocations: 15.94 kB / 0.5606 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4913, allocations: 8 kB / 0.5606 GB, free: 14.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.4914, allocations: 114.1 kB / 0.5607 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.4914, allocations: 11.91 kB / 0.5607 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.4915, allocations: 8.625 kB / 0.5607 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4915, allocations: 4.047 kB / 0.5607 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4915, allocations: 4 kB / 0.5607 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4915, allocations: 11.05 kB / 0.5607 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.4917, allocations: 201.8 kB / 0.5609 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4917, allocations: 0 / 0.5609 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.4918, allocations: 15.98 kB / 0.5609 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4918, allocations: 0 / 0.5609 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4918, allocations: 4 kB / 0.5609 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4918, allocations: 0 / 0.5609 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4918, allocations: 3.953 kB / 0.5609 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.4921, allocations: 157.7 kB / 0.5611 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.4921, allocations: 85.05 kB / 0.5612 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4922, allocations: 4 kB / 0.5612 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.4922, allocations: 4 kB / 0.5612 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.4923, allocations: 11.94 kB / 0.5612 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.4923, allocations: 4 kB / 0.5612 GB, free: 14.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.4924, allocations: 105.9 kB / 0.5613 GB, free: 14.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4924, allocations: 0 / 0.5613 GB, free: 14.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.4926, allocations: 28.06 kB / 0.5613 GB, free: 14.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.4927, allocations: 112.7 kB / 0.5614 GB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.4929, allocations: 67.86 kB / 0.5615 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4929, allocations: 192 / 0.5615 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.755e-05/0.4929, allocations: 31.94 kB / 0.5615 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.4931, allocations: 8 kB / 0.5615 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.4934, allocations: 166.9 kB / 0.5617 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.4937, allocations: 0.7081 MB / 0.5624 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.4937, allocations: 8.547 kB / 0.5624 GB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.4938, allocations: 15.44 kB / 0.5624 GB, free: 12.92 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4938, allocations: 0 / 0.5624 GB, free: 12.92 MB / 394.7 MB Notification: Performance of Templates: time 0.002809/0.4966, allocations: 0.8216 MB / 0.5632 GB, free: 12.12 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches