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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 113.8 kB / 17.09 MB, free: 5.957 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.001061/0.001061, allocations: 198.9 kB / 18.02 MB, free: 5.043 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.254/1.254, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1881/0.1881, allocations: 43.54 MB / 314.8 MB, free: 452 kB / 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: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 69.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09176, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002584/0.09438, allocations: 1.651 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008891/0.09529, allocations: 0.575 MB / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.09538, allocations: 0 / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.669e-05/0.09547, allocations: 7.875 kB / 0.4907 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.09553, allocations: 23.78 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.09581, allocations: 51.88 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.09596, allocations: 111.6 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.09608, allocations: 39.91 kB / 0.4909 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.09619, allocations: 43.84 kB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.09631, allocations: 47.77 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.09634, allocations: 12 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.09636, allocations: 8 kB / 0.491 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.09641, allocations: 27.91 kB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.09647, allocations: 47.73 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.0966, allocations: 99.61 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09662, allocations: 0 / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09662, allocations: 0 / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.09664, allocations: 4 kB / 0.4912 GB, free: 9.039 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006027/0.09724, allocations: 411 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.09728, allocations: 11.89 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.09733, allocations: 12.84 kB / 0.4916 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.09752, allocations: 212 kB / 0.4918 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.09754, allocations: 12.31 kB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.09757, allocations: 8.375 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.09776, allocations: 93.95 kB / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.09778, allocations: 0 / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.0978, allocations: 0 / 0.4919 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.09781, allocations: 4 kB / 0.4919 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.09794, allocations: 47.97 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.09841, allocations: 364.6 kB / 0.4923 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.09854, allocations: 62.55 kB / 0.4924 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.09861, allocations: 24.98 kB / 0.4924 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.09863, allocations: 0 / 0.4924 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.09882, allocations: 107.3 kB / 0.4925 GB, free: 7.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.09883, allocations: 0 / 0.4925 GB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002989/0.09914, allocations: 125.5 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.09918, allocations: 55.41 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.09929, allocations: 144.2 kB / 0.4928 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.09932, allocations: 33.69 kB / 0.4929 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.09938, allocations: 100.3 kB / 0.493 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.09941, allocations: 35.48 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.09947, allocations: 37.7 kB / 0.493 GB, free: 6.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.09957, allocations: 318.8 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.09965, allocations: 27.98 kB / 0.4934 GB, free: 6.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.09975, allocations: 87.45 kB / 0.4934 GB, free: 6.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.09993, allocations: 127.6 kB / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.09994, allocations: 0 / 0.4936 GB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002282/0.1002, allocations: 137.4 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1002, allocations: 8.375 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1002, allocations: 4 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1002, allocations: 4 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1003, allocations: 20.2 kB / 0.4937 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1004, allocations: 15.88 kB / 0.4937 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.1005, allocations: 15.83 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1005, allocations: 8 kB / 0.4938 GB, free: 6.145 MB / 382.1 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 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/0.1006, allocations: 133.7 kB / 0.4939 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1006, allocations: 7.906 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.1006, allocations: 16.7 kB / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1006, allocations: 0 / 0.4939 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1006, allocations: 4 kB / 0.4939 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.1007, allocations: 88.95 kB / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1007, allocations: 4 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.1008, allocations: 3.984 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.1008, allocations: 8 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003108/0.1011, allocations: 188.9 kB / 0.4942 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003517/0.1015, allocations: 322.6 kB / 0.4945 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.104e-05/0.1016, allocations: 39.94 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.314e-05/0.1017, allocations: 106.1 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of Backend: time 3.31e-07/0.1017, allocations: 0 / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1021, allocations: 130.7 kB / 0.4948 GB, free: 5.055 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005586/0.1026, allocations: 0.69 MB / 0.4955 GB, free: 4.316 MB / 382.1 MB Notification: Performance of Templates: time 0.003454/0.1061, allocations: 1.113 MB / 0.4965 GB, free: 3.203 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches