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.001026/0.001026, allocations: 111.3 kB / 18.47 MB, free: 4.703 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.001036/0.001036, allocations: 193.3 kB / 19.4 MB, free: 3.781 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2094/0.2094, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.008e-05, allocations: 2.281 kB / 471.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002908/0.002946, allocations: 1.666 MB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000968/0.00393, allocations: 0.5416 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.004025, allocations: 3.938 kB / 473.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.004143, allocations: 7.875 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.51e-05/0.004195, allocations: 15.86 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.004492, allocations: 59.83 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.00471, allocations: 127.7 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.004875, allocations: 33.38 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.004985, allocations: 43.86 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.005088, allocations: 55.69 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.005119, allocations: 8 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.005147, allocations: 12 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001506/0.005302, allocations: 150.2 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 6.465e-05/0.005372, allocations: 98.53 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.005419, allocations: 15.94 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.511e-05/0.005449, allocations: 4 kB / 474 MB, free: 10.39 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.0006725/0.006125, allocations: 0.5813 MB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001112/0.006243, allocations: 47.84 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002644/0.006514, allocations: 264.2 kB / 474.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplify1: time 3.524e-05/0.006556, allocations: 19.97 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of Alias: time 0.0006026/0.007165, allocations: 425.8 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simplify2: time 2.195e-05/0.007197, allocations: 11.98 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Events: time 0.0001441/0.007346, allocations: 84.86 kB / 475.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002285/0.007582, allocations: 144 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001602/0.007751, allocations: 120.6 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004936/0.008252, allocations: 380.5 kB / 476 MB, free: 8.039 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002687/0.00853, allocations: 288.6 kB / 476.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Inline: time 0.0004236/0.008961, allocations: 411.1 kB / 476.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of Partitioning: time 3.152e-05/0.009001, allocations: 28.12 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Cleanup: time 2.602e-05/0.009032, allocations: 19.97 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Causalize: time 0.001265/0.0103, allocations: 1.019 MB / 477.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Tearing: time 9.208e-06/0.01032, allocations: 7.922 kB / 477.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Initialization: time 2.7e-07/0.01033, allocations: 0 / 477.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Tearing: time 2.986e-06/0.01033, allocations: 4 kB / 477.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Categorize: time 1.297e-05/0.01035, allocations: 3.984 kB / 477.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Solve: time 0.0001283/0.01048, allocations: 76.48 kB / 477.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002484/0.01074, allocations: 261.9 kB / 478.1 MB, free: 5.832 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 4.15e-05/0.01079, allocations: 24.02 kB / 478.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008608/0.01166, allocations: 1.074 MB / 479.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of Templates: time 0.003383/0.01506, allocations: 1.058 MB / 480.3 MB, free: 3.645 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