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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 110.7 kB / 18.46 MB, free: 4.605 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.001657/0.001657, allocations: 185.4 kB / 19.39 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.705e-05, allocations: 2.281 kB / 471.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002825/0.002861, allocations: 1.66 MB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.00388, allocations: 0.5416 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.00398, allocations: 0 / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.004091, allocations: 7.875 kB / 473.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.004158, allocations: 23.8 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.004466, allocations: 55.88 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.004668, allocations: 123.7 kB / 473.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.004811, allocations: 37.38 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.004925, allocations: 51.77 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.005013, allocations: 43.78 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.005046, allocations: 8 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.182e-05/0.005073, allocations: 12 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001229/0.005202, allocations: 154.2 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.675e-05/0.005255, allocations: 98.52 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.005304, allocations: 15.94 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.136e-05/0.005341, allocations: 7.938 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 (16) * Number of variables: 16 (15) Notification: Performance of Bindings: time 0.0005663/0.005913, allocations: 0.5658 MB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001214/0.006041, allocations: 59.77 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002336/0.006284, allocations: 260.2 kB / 474.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplify1: time 3.988e-05/0.006331, allocations: 23.97 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Alias: time 0.0005906/0.006927, allocations: 425.8 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplify2: time 3.037e-05/0.006968, allocations: 15.97 kB / 475.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002191/0.007193, allocations: 135.8 kB / 475.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of Events: time 0.0001324/0.007336, allocations: 71.78 kB / 475.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001379/0.007484, allocations: 128.1 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004613/0.007953, allocations: 384.2 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002505/0.008214, allocations: 281 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Inline: time 0.0004137/0.008636, allocations: 411.1 kB / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of Partitioning: time 3.685e-05/0.008682, allocations: 28.12 kB / 476.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Cleanup: time 2.863e-05/0.008717, allocations: 23.97 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of Causalize: time 0.001184/0.009906, allocations: 1.024 MB / 477.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Tearing: time 1.409e-05/0.009931, allocations: 7.938 kB / 477.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Initialization: time 8.12e-07/0.009939, allocations: 3.938 kB / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Tearing: time 3.687e-06/0.009947, allocations: 0 / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Categorize: time 1.113e-05/0.009963, allocations: 0 / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Solve: time 0.0001373/0.0101, allocations: 84.42 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0001954/0.01031, allocations: 246 kB / 478.1 MB, free: 5.852 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {mean1.x, rootMeanSquare.mean.x} * Number of discrete states: .................... 2 (2) {rootMeanSquare.mean.y_last, mean1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.135e-05/0.01037, allocations: 24.19 kB / 478.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009021/0.01127, allocations: 1.09 MB / 479.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of Templates: time 0.003915/0.0152, allocations: 1.031 MB / 480.2 MB, free: 3.676 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean1.x,rootMeanSquare.mean.x,mean1.y,rootMeanSquare.mean.y Variables in the result:expSine.amplitude,expSine.damping,expSine.f,expSine.offset,expSine.phase,expSine.startTime,mean1.f,mean1.t0,mean1.x,mean1.x0,mean1.y,mean1.y,mean1.yGreaterOrEqualZero,rootMeanSquare.f,rootMeanSquare.mean.f,rootMeanSquare.mean.t0,rootMeanSquare.mean.x,rootMeanSquare.mean.x0,rootMeanSquare.mean.y,rootMeanSquare.mean.yGreaterOrEqualZero,rootMeanSquare.mean.y_last,rootMeanSquare.product.significantDigits,rootMeanSquare.x0,time