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.0009558/0.0009555, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0008172/0.0008172, allocations: 93 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1869/0.1869, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.008e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3835/0.5058, allocations: 86.17 MB / 0.5788 GB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5061, allocations: 67.95 kB / 0.5789 GB, free: 10.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005891/0.512, allocations: 1.745 MB / 0.5806 GB, free: 8.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5121, allocations: 4 kB / 0.5806 GB, free: 8.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.5121, allocations: 4 kB / 0.5806 GB, free: 8.543 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.0005386/0.5127, allocations: 374.2 kB / 0.5809 GB, free: 8.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5127, allocations: 11.98 kB / 0.581 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.5128, allocations: 11.91 kB / 0.581 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.5131, allocations: 212.2 kB / 0.5812 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5131, allocations: 4 kB / 0.5812 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.5132, allocations: 11.95 kB / 0.5812 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001405/0.5133, allocations: 39.98 kB / 0.5812 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.5135, allocations: 77.5 kB / 0.5813 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5135, allocations: 0 / 0.5813 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.5135, allocations: 3.984 kB / 0.5813 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5135, allocations: 4 kB / 0.5813 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.5141, allocations: 353 kB / 0.5816 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.5143, allocations: 54.5 kB / 0.5817 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.5143, allocations: 20.95 kB / 0.5817 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.5143, allocations: 0 / 0.5817 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.5145, allocations: 91.41 kB / 0.5818 GB, free: 7.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.5145, allocations: 0 / 0.5818 GB, free: 7.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002502/0.5148, allocations: 89.52 kB / 0.5819 GB, free: 7.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5148, allocations: 51.41 kB / 0.5819 GB, free: 6.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.515, allocations: 122.3 kB / 0.5821 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.515, allocations: 25.7 kB / 0.5821 GB, free: 6.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.5151, allocations: 115.8 kB / 0.5822 GB, free: 6.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.5151, allocations: 36.77 kB / 0.5822 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.5152, allocations: 0 / 0.5822 GB, free: 6.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5153, allocations: 322.8 kB / 0.5825 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.5154, allocations: 16 kB / 0.5825 GB, free: 6.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.5154, allocations: 75.67 kB / 0.5826 GB, free: 6.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.5155, allocations: 27.98 kB / 0.5826 GB, free: 6.215 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5155, allocations: 0 / 0.5826 GB, free: 6.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001904/0.5157, allocations: 109.6 kB / 0.5827 GB, free: 6.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5157, allocations: 12.12 kB / 0.5828 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5158, allocations: 3.938 kB / 0.5828 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5158, allocations: 4 kB / 0.5828 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.5159, allocations: 31.92 kB / 0.5828 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.5159, allocations: 4 kB / 0.5828 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.791e-05/0.516, allocations: 11.84 kB / 0.5828 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.5161, allocations: 4 kB / 0.5828 GB, free: 6.031 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_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 9.69e-05/0.5162, allocations: 122.2 kB / 0.5829 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.5162, allocations: 7.906 kB / 0.5829 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.5162, allocations: 13.5 kB / 0.583 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5162, allocations: 0 / 0.583 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5163, allocations: 0 / 0.583 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5163, allocations: 2.953 kB / 0.583 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.5164, allocations: 182.1 kB / 0.5831 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5164, allocations: 96 / 0.5831 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5165, allocations: 12 kB / 0.5831 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5166, allocations: 3.984 kB / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.5166, allocations: 11.98 kB / 0.5832 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5166, allocations: 0 / 0.5832 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5166, allocations: 3.938 kB / 0.5832 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.5168, allocations: 137 kB / 0.5833 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.5169, allocations: 96.84 kB / 0.5834 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.5169, allocations: 0 / 0.5834 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.517, allocations: 11.92 kB / 0.5834 GB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.5171, allocations: 12.05 kB / 0.5834 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.5171, allocations: 8 kB / 0.5834 GB, free: 5.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.5172, allocations: 100.7 kB / 0.5835 GB, free: 5.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5172, allocations: 0 / 0.5835 GB, free: 5.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.5174, allocations: 20 kB / 0.5835 GB, free: 5.227 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_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.0001435/0.5176, allocations: 95.25 kB / 0.5836 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.5177, allocations: 67.89 kB / 0.5837 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5177, allocations: 448 / 0.5837 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/0.5178, allocations: 28 kB / 0.5837 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.518, allocations: 15.22 kB / 0.5837 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.5185, allocations: 160.2 kB / 0.5839 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5188, allocations: 0.7157 MB / 0.5846 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.5189, allocations: 12.56 kB / 0.5846 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.519, allocations: 15.42 kB / 0.5846 GB, free: 4.066 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.519, allocations: 0 / 0.5846 GB, free: 4.066 MB / 394.7 MB Notification: Performance of Templates: time 0.002861/0.5219, allocations: 0.7639 MB / 0.5853 GB, free: 3.309 MB / 394.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