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.001158/0.001158, allocations: 111.3 kB / 17.09 MB, free: 5.992 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.001059/0.001059, allocations: 195.3 kB / 18.02 MB, free: 5.074 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.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1978/0.1978, allocations: 43.53 MB / 314.8 MB, free: 444 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.001392/0.001392, allocations: 63.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.0952, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002586/0.09783, allocations: 1.651 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.09873, allocations: 0.5825 MB / 0.4907 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.09881, allocations: 4 kB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.09891, allocations: 7.875 kB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.09897, allocations: 19.78 kB / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.09922, allocations: 59.81 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.09938, allocations: 99.77 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.09952, allocations: 43.94 kB / 0.4909 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.132e-05/0.09962, allocations: 47.8 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.09974, allocations: 51.75 kB / 0.491 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.09977, allocations: 8 kB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.0998, allocations: 12 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.09984, allocations: 19.92 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.09992, allocations: 47.73 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1001, allocations: 107.5 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1001, allocations: 0 / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1001, allocations: 0 / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1001, allocations: 4 kB / 0.4912 GB, free: 9.023 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.0007018/0.1008, allocations: 411.1 kB / 0.4916 GB, free: 8.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1009, allocations: 11.89 kB / 0.4916 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1009, allocations: 12.84 kB / 0.4916 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1011, allocations: 208.1 kB / 0.4918 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1012, allocations: 8.375 kB / 0.4918 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1012, allocations: 4.375 kB / 0.4919 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.1014, allocations: 97.95 kB / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1014, allocations: 7.875 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1014, allocations: 0 / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1015, allocations: 4 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1016, allocations: 43.97 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.1021, allocations: 360.6 kB / 0.4923 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1023, allocations: 70.5 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.1023, allocations: 24.92 kB / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.1024, allocations: 48 / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.1026, allocations: 103.3 kB / 0.4925 GB, free: 7.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1026, allocations: 0 / 0.4925 GB, free: 7.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003378/0.1029, allocations: 125.5 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.103, allocations: 55.41 kB / 0.4927 GB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1031, allocations: 144.4 kB / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1031, allocations: 29.64 kB / 0.4929 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1032, allocations: 108.3 kB / 0.493 GB, free: 7.031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.1032, allocations: 31.73 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.1033, allocations: 37.7 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1034, allocations: 318.8 kB / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.319e-05/0.1035, allocations: 27.98 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1036, allocations: 79.38 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.1038, allocations: 131.6 kB / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1038, allocations: 0 / 0.4936 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002362/0.104, allocations: 137.4 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.104, allocations: 8 kB / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.104, allocations: 0 / 0.4937 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1041, allocations: 4 kB / 0.4937 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1042, allocations: 24.14 kB / 0.4937 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1042, allocations: 12.36 kB / 0.4937 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.1043, allocations: 19.88 kB / 0.4938 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1043, allocations: 8 kB / 0.4938 GB, free: 6.137 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 9.884e-05/0.1044, allocations: 133.7 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.1044, allocations: 15.89 kB / 0.4939 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1045, allocations: 8.719 kB / 0.4939 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1045, allocations: 3.984 kB / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1045, allocations: 4 kB / 0.4939 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.1045, allocations: 93 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1046, allocations: 4 kB / 0.494 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.1046, allocations: 4 kB / 0.494 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1047, allocations: 7.984 kB / 0.494 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003164/0.105, allocations: 196.8 kB / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003632/0.1054, allocations: 322.6 kB / 0.4945 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.233e-05/0.1055, allocations: 36 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.785e-05/0.1056, allocations: 106.1 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of Backend: time 2.6e-07/0.1056, allocations: 0 / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.106, allocations: 126.7 kB / 0.4948 GB, free: 5.039 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005889/0.1066, allocations: 0.6817 MB / 0.4955 GB, free: 4.309 MB / 382.1 MB Notification: Performance of Templates: time 0.003387/0.11, allocations: 1.097 MB / 0.4965 GB, free: 3.215 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