Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001464/0.001464, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001594/0.001594, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.342/1.342, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.88 MB / 361.3 MB, free: 4.426 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 79.86 kB / 0.497 GB, free: 7.582 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2564, allocations: 66.02 MB / 0.5615 GB, free: 4.613 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002633/0.259, allocations: 1.715 MB / 0.5632 GB, free: 2.891 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009442/0.26, allocations: 0.5971 MB / 0.5638 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.26, allocations: 7.938 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 9.304e-05/0.2601, allocations: 11.86 kB / 0.5638 GB, free: 2.27 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.2602, allocations: 15.81 kB / 0.5638 GB, free: 2.254 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.2604, allocations: 67.75 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000161/0.2606, allocations: 119.7 kB / 0.564 GB, free: 2.07 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2607, allocations: 21.3 kB / 0.564 GB, free: 2.047 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2608, allocations: 63.77 kB / 0.5641 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.2609, allocations: 51.78 kB / 0.5641 GB, free: 1.934 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.2609, allocations: 8 kB / 0.5641 GB, free: 1.926 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.261, allocations: 19.98 kB / 0.5641 GB, free: 1.906 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.261, allocations: 27.91 kB / 0.5642 GB, free: 1.879 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.2611, allocations: 51.73 kB / 0.5642 GB, free: 1.828 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2613, allocations: 129.9 kB / 0.5643 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2613, allocations: 0 / 0.5643 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.001e-06/0.2613, allocations: 0 / 0.5643 GB, free: 1.707 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.338e-06/0.2613, allocations: 0 / 0.5643 GB, free: 1.707 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.0006579/0.262, allocations: 379.4 kB / 0.5647 GB, free: 1.301 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.262, allocations: 8.031 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2622, allocations: 24.88 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2624, allocations: 154.5 kB / 0.5649 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2624, allocations: 8.359 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.2624, allocations: 24 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2626, allocations: 91.89 kB / 0.565 GB, free: 0.9727 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2627, allocations: 8 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2627, allocations: 0 / 0.565 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.2627, allocations: 0 / 0.565 GB, free: 0.9648 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.2628, allocations: 51.97 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.2634, allocations: 359.6 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.2635, allocations: 58.55 kB / 0.5655 GB, free: 464 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.2636, allocations: 24.98 kB / 0.5655 GB, free: 436 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2636, allocations: 3.938 kB / 0.5655 GB, free: 432 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.2638, allocations: 95.34 kB / 0.5656 GB, free: 324 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.2638, allocations: 4 kB / 0.5656 GB, free: 320 kB / 398.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0003352/0.2641, allocations: 137.4 kB / 0.5657 GB, free: 176 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2642, allocations: 51.41 kB / 0.5658 GB, free: 112 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.2643, allocations: 149.8 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2643, allocations: 25.7 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.2644, allocations: 112.2 kB / 0.566 GB, free: 15.81 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.2644, allocations: 27.8 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.2645, allocations: 29.72 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001252/0.2646, allocations: 322.8 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-05/0.2647, allocations: 23.98 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2648, allocations: 91.58 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.265, allocations: 123.6 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.265, allocations: 4 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002575/0.2653, allocations: 141.4 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2653, allocations: 11.94 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2653, allocations: 0 / 0.5668 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2653, allocations: 4.375 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2654, allocations: 19.98 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2654, allocations: 12.16 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.2655, allocations: 11.95 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2655, allocations: 15.92 kB / 0.5668 GB, free: 14.91 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.0001003/0.2656, allocations: 123.2 kB / 0.567 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.2656, allocations: 11.89 kB / 0.567 GB, free: 14.77 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.2657, allocations: 8.719 kB / 0.567 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2657, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2657, allocations: 0 / 0.567 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2657, allocations: 7.984 kB / 0.567 GB, free: 14.75 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2658, allocations: 188.5 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2658, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.2659, allocations: 8 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2659, allocations: 3.938 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.266, allocations: 3.984 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.266, allocations: 4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.266, allocations: 4 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2663, allocations: 172.9 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.2663, allocations: 15.86 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.2663, allocations: 4 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.2664, allocations: 4 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2664, allocations: 3.984 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2664, allocations: 7.984 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 8.052e-05/0.2665, allocations: 110.3 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2665, allocations: 4 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002137/0.2667, allocations: 16 kB / 0.5675 GB, free: 14.15 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 8.895e-05/0.2668, allocations: 103.8 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002119/0.267, allocations: 71.84 kB / 0.5677 GB, free: 13.97 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.267, allocations: 0 / 0.5677 GB, free: 13.97 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.2671, allocations: 35.95 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.2673, allocations: 19.92 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.2678, allocations: 266.4 kB / 0.568 GB, free: 13.63 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.2681, allocations: 0.7085 MB / 0.5687 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 4.6e-05/0.2681, allocations: 16.33 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.2682, allocations: 19.44 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.2682, allocations: 0 / 0.5687 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of Templates: time 0.003618/0.2718, allocations: 1.047 MB / 0.5697 GB, free: 11.82 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.4156001871451735]