Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 180 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009025/0.0009027, allocations: 95.78 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1901/0.1901, allocations: 44.17 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.721e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1428, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4918, allocations: 86.84 MB / 0.5865 GB, free: 2.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.4921, allocations: 59.97 kB / 0.5865 GB, free: 2.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005215/0.4973, allocations: 1.763 MB / 0.5883 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4973, allocations: 0 / 0.5883 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.4974, allocations: 4 kB / 0.5883 GB, free: 0.6484 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004828/0.4979, allocations: 378.2 kB / 0.5886 GB, free: 240 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4979, allocations: 8.031 kB / 0.5886 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.498, allocations: 11.91 kB / 0.5887 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.4982, allocations: 211.9 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.4983, allocations: 4 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4983, allocations: 11.95 kB / 0.5889 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4985, allocations: 90.02 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4985, allocations: 3.984 kB / 0.589 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4985, allocations: 15.94 kB / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4985, allocations: 0 / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/0.4986, allocations: 43.92 kB / 0.589 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.4992, allocations: 384.3 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4993, allocations: 58.5 kB / 0.5894 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.4993, allocations: 20.95 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.4993, allocations: 0 / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.4995, allocations: 95.34 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.4995, allocations: 0 / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002133/0.4997, allocations: 97.58 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.4998, allocations: 51.41 kB / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.4999, allocations: 134.5 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4999, allocations: 25.7 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.5, allocations: 111.9 kB / 0.59 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.5, allocations: 27.86 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.5, allocations: 0 / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.5001, allocations: 318.8 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.5002, allocations: 27.98 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.5003, allocations: 71.73 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.998e-05/0.5003, allocations: 35.92 kB / 0.5904 GB, free: 14.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5003, allocations: 0 / 0.5904 GB, free: 14.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001814/0.5005, allocations: 125.4 kB / 0.5905 GB, free: 14.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5005, allocations: 9.406 kB / 0.5905 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5005, allocations: 224 / 0.5905 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5006, allocations: 8 kB / 0.5905 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5007, allocations: 27.81 kB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5007, allocations: 7.938 kB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.5008, allocations: 15.84 kB / 0.5906 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5008, allocations: 11.95 kB / 0.5906 GB, free: 14.02 MB / 410.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_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * 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 7.197e-05/0.5009, allocations: 117.8 kB / 0.5907 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.5009, allocations: 8 kB / 0.5907 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.501, allocations: 16.56 kB / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.501, allocations: 4 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.501, allocations: 0 / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.501, allocations: 0 / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.5011, allocations: 213.5 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5011, allocations: 4 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.479e-05/0.5012, allocations: 19.92 kB / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5013, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5013, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5013, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5013, allocations: 0 / 0.591 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.5015, allocations: 160.9 kB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.5016, allocations: 84.92 kB / 0.5912 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.5016, allocations: 8.031 kB / 0.5912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.5017, allocations: 7.984 kB / 0.5912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5017, allocations: 0 / 0.5912 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5017, allocations: 7.984 kB / 0.5912 GB, free: 13.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.5018, allocations: 108.3 kB / 0.5913 GB, free: 13.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5018, allocations: 0 / 0.5913 GB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.502, allocations: 20 kB / 0.5914 GB, free: 13.16 MB / 410.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_last,rootMeanSquare.mean.y_last) * 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.0001206/0.5021, allocations: 103.2 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.5023, allocations: 63.86 kB / 0.5915 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5023, allocations: 0 / 0.5915 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.5024, allocations: 31.94 kB / 0.5915 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.5025, allocations: 18.91 kB / 0.5916 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.5029, allocations: 173.8 kB / 0.5917 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.5031, allocations: 0.712 MB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.5032, allocations: 4.562 kB / 0.5924 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.5032, allocations: 19.44 kB / 0.5924 GB, free: 11.99 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5032, allocations: 0 / 0.5924 GB, free: 11.99 MB / 410.7 MB Notification: Performance of Templates: time 0.002583/0.5058, allocations: 0.8279 MB / 0.5933 GB, free: 11.17 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches