Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 212.6 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2378/0.2378, allocations: 46.94 MB / 361.4 MB, free: 4.414 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare")
translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 79.86 kB / 0.4972 GB, free: 7.539 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3716, allocations: 66.04 MB / 0.5616 GB, free: 4.547 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003377/0.375, allocations: 1.706 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001189/0.3762, allocations: 0.6087 MB / 0.5639 GB, free: 2.223 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.3762, allocations: 4 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.3764, allocations: 7.875 kB / 0.5639 GB, free: 2.211 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.3764, allocations: 19.78 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3767, allocations: 67.81 kB / 0.564 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3769, allocations: 111.7 kB / 0.5641 GB, free: 2.016 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3771, allocations: 29.23 kB / 0.5641 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3772, allocations: 63.77 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3774, allocations: 47.77 kB / 0.5642 GB, free: 1.875 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.3774, allocations: 8 kB / 0.5642 GB, free: 1.867 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.3775, allocations: 23.98 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.3775, allocations: 23.92 kB / 0.5643 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.3776, allocations: 51.67 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3778, allocations: 130 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3778, allocations: 0 / 0.5645 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.313e-06/0.3778, allocations: 0 / 0.5645 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.231e-06/0.3778, allocations: 0 / 0.5645 GB, free: 1.648 MB / 398.1 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.0008918/0.3787, allocations: 383.4 kB / 0.5648 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.3788, allocations: 8.031 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.379, allocations: 24.88 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.3793, allocations: 146.5 kB / 0.565 GB, free: 1.043 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3793, allocations: 12.31 kB / 0.565 GB, free: 1.031 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.3793, allocations: 16.12 kB / 0.565 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.3796, allocations: 89.64 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3796, allocations: 4 kB / 0.5651 GB, free: 0.918 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.3796, allocations: 4 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3796, allocations: 0 / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.3798, allocations: 47.97 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.3806, allocations: 371.5 kB / 0.5655 GB, free: 472 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.3807, allocations: 50.56 kB / 0.5656 GB, free: 412 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.3808, allocations: 28.98 kB / 0.5656 GB, free: 380 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3808, allocations: 3.938 kB / 0.5656 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.3811, allocations: 103.3 kB / 0.5657 GB, free: 260 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.3811, allocations: 0 / 0.5657 GB, free: 260 kB / 398.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0004147/0.3815, allocations: 133.5 kB / 0.5658 GB, free: 120 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.3816, allocations: 51.41 kB / 0.5659 GB, free: 56 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3818, allocations: 145.8 kB / 0.566 GB, free: 15.9 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3818, allocations: 33.64 kB / 0.566 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.3819, allocations: 112.2 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3819, allocations: 31.78 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.382, allocations: 33.7 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001613/0.3821, allocations: 322.8 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/0.3822, allocations: 27.98 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3823, allocations: 83.59 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.3825, allocations: 127.6 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3825, allocations: 0 / 0.5668 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002597/0.3828, allocations: 137.4 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3828, allocations: 11.94 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3828, allocations: 4 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.3828, allocations: 4 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.383, allocations: 24.2 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.383, allocations: 11.92 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.383, allocations: 7.953 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3831, allocations: 12 kB / 0.567 GB, free: 14.85 MB / 414.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_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last)
 * 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 0.0001206/0.3832, allocations: 121.8 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3832, allocations: 11.89 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.3833, allocations: 16.7 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3833, allocations: 0 / 0.5671 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3833, allocations: 4 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3833, allocations: 0 / 0.5671 GB, free: 14.69 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3835, allocations: 184.6 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3835, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.625e-05/0.3836, allocations: 11.98 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3836, allocations: 4.312 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3836, allocations: 4 kB / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3836, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3836, allocations: 0 / 0.5673 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.384, allocations: 177 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.384, allocations: 15.91 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.384, allocations: 3.984 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.3841, allocations: 8 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.3841, allocations: 7.922 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3842, allocations: 4 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 8.838e-05/0.3842, allocations: 118.2 kB / 0.5676 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.3842, allocations: 0 / 0.5676 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002157/0.3845, allocations: 20.06 kB / 0.5676 GB, free: 14.08 MB / 414.1 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)
 * Number of clocked states: 0 ()
 * 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001036/0.3846, allocations: 95.78 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002298/0.3848, allocations: 75.83 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.3848, allocations: 4 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.262e-05/0.3849, allocations: 27.92 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3851, allocations: 21.36 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.3857, allocations: 269.6 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.386, allocations: 0.7085 MB / 0.5688 GB, free: 12.84 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.442e-05/0.3861, allocations: 20.62 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.3861, allocations: 11.44 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3861, allocations: 0 / 0.5688 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of Templates: time 0.004386/0.3905, allocations: 1.054 MB / 0.5699 GB, free: 11.75 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.205479247495532]