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.002342/0.002342, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002019/0.002019, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.624/1.624, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3855/0.3855, allocations: 34.26 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] 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 2.245e-06/2.245e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.843e-05/4.068e-05, allocations: 9.344 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004825/0.004865, allocations: 1.69 MB / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.006744, allocations: 0.5647 MB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.006817, allocations: 8 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.316e-05/0.006911, allocations: 7.875 kB / 379.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.007022, allocations: 23.73 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.007426, allocations: 67.73 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.007683, allocations: 115.6 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.007823, allocations: 25.16 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.008088, allocations: 83.73 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.00822, allocations: 31.89 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.008257, allocations: 12 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.008327, allocations: 23.98 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.008381, allocations: 19.92 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.32e-05/0.008464, allocations: 35.91 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.008781, allocations: 135.5 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.008784, allocations: 0 / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.008785, allocations: 0 / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.008789, allocations: 0 / 380 MB, free: 60 kB / 346.7 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.001071/0.009861, allocations: 487.3 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.009907, allocations: 8.031 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.01023, allocations: 36.83 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.01058, allocations: 153 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.0106, allocations: 8.312 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.01064, allocations: 16.31 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.01095, allocations: 86.2 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.01098, allocations: 3.938 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.011, allocations: 4 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.01101, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.01123, allocations: 43.97 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009546/0.01218, allocations: 387.4 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.01244, allocations: 63.08 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.01257, allocations: 27.78 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.01259, allocations: 7.938 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.01293, allocations: 105 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.01293, allocations: 0 / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005883/0.01352, allocations: 133.5 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.01359, allocations: 51.41 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.01393, allocations: 222.8 kB / 381.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.01397, allocations: 29.7 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.01414, allocations: 158.9 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.0142, allocations: 27.8 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.01431, allocations: 43.36 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004113/0.01473, allocations: 0.5001 MB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.01486, allocations: 31.86 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.01512, allocations: 115.4 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.01553, allocations: 145 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.01554, allocations: 4 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005189/0.01606, allocations: 145.4 kB / 383 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.01609, allocations: 8 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.0161, allocations: 0 / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.01612, allocations: 4 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.01635, allocations: 27.92 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/0.01637, allocations: 7.938 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.0165, allocations: 8 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.01652, allocations: 4 kB / 383.1 MB, free: 12.72 MB / 362.7 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.0002324/0.01675, allocations: 180.7 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.01681, allocations: 19.89 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.01686, allocations: 8.781 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01686, allocations: 7.938 kB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.01687, allocations: 3.938 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01687, allocations: 0 / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.01717, allocations: 160.6 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01717, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.01733, allocations: 8 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01733, allocations: 96 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.01736, allocations: 15.98 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01736, allocations: 4 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.01737, allocations: 3.984 kB / 383.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.01799, allocations: 176.2 kB / 383.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.01803, allocations: 11.91 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.01807, allocations: 7.984 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.01817, allocations: 0 / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.01823, allocations: 11.98 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.01826, allocations: 7.938 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.01847, allocations: 162.3 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.01847, allocations: 7.969 kB / 383.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.01889, allocations: 16 kB / 383.9 MB, free: 11.86 MB / 362.7 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.0001701/0.01906, allocations: 95.25 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01947, allocations: 87.52 kB / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01947, allocations: 0 / 384.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.01964, allocations: 39.67 kB / 384.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.01998, allocations: 17.08 kB / 384.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.02083, allocations: 262.5 kB / 384.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.02099, allocations: 97.3 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.02106, allocations: 8.359 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.02115, allocations: 16.5 kB / 384.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02115, allocations: 4 kB / 384.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.007317/0.02846, allocations: 1.037 MB / 385.5 MB, free: 10.16 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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.994086239952594]