Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 164.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 3.938 kB / 325.1 MB, free: 392 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.853e-05/5.134e-05, allocations: 6.547 kB / 325.1 MB, free: 388 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004399/0.004451, allocations: 1.82 MB / 326.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.007707, allocations: 1.249 MB / 328.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.007836, allocations: 0 / 328.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.007991, allocations: 19.88 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.008164, allocations: 36.72 kB / 328.2 MB, free: 14.29 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.009401, allocations: 323.4 kB / 328.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.0098, allocations: 219.7 kB / 328.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.01001, allocations: 51.09 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.01025, allocations: 132.5 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.01096, allocations: 92.97 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.01102, allocations: 22.03 kB / 329 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.01181, allocations: 322.7 kB / 329.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.01191, allocations: 56.25 kB / 329.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01205, allocations: 69.77 kB / 329.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.01289, allocations: 441.7 kB / 329.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.01289, allocations: 1 kB / 329.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01289, allocations: 0 / 329.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.0129, allocations: 4 kB / 329.9 MB, free: 13.57 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001323/0.01422, allocations: 0.5013 MB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.01427, allocations: 9.594 kB / 330.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.01453, allocations: 35.38 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.01484, allocations: 192.4 kB / 330.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.01488, allocations: 13.16 kB / 330.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.634e-05/0.01494, allocations: 25.5 kB / 330.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.01552, allocations: 207.6 kB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.01553, allocations: 3.938 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.01556, allocations: 5.281 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01557, allocations: 3.562 kB / 330.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.01609, allocations: 158 kB / 331.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.0173, allocations: 463.4 kB / 331.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.01868, allocations: 297.7 kB / 331.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.01907, allocations: 109.1 kB / 331.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.01915, allocations: 6.094 kB / 331.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000622/0.01977, allocations: 171.1 kB / 332.1 MB, free: 12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 4.619e-06/0.01977, allocations: 0 / 332.1 MB, free: 12 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.00135/0.02112, allocations: 355 kB / 332.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.02121, allocations: 57.03 kB / 332.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.02154, allocations: 207 kB / 332.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.0216, allocations: 44.02 kB / 332.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.02177, allocations: 137.6 kB / 332.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.02186, allocations: 64.84 kB / 332.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.02202, allocations: 71.89 kB / 333 MB, free: 11.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.02223, allocations: 332.3 kB / 333.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.02266, allocations: 132.5 kB / 333.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.02314, allocations: 168.1 kB / 333.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.02391, allocations: 271.5 kB / 333.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.02392, allocations: 5.344 kB / 333.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001007/0.02493, allocations: 381 kB / 334.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.02496, allocations: 8.469 kB / 334.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.02497, allocations: 1.125 kB / 334.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.02499, allocations: 5 kB / 334.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.02535, allocations: 66.17 kB / 334.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.02536, allocations: 1.375 kB / 334.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.02557, allocations: 43.86 kB / 334.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.02561, allocations: 10.23 kB / 334.4 MB, free: 10.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0002471/0.02585, allocations: 157 kB / 334.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.02591, allocations: 22.89 kB / 334.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.02599, allocations: 20.86 kB / 334.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.02599, allocations: 3.156 kB / 334.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.026, allocations: 0 / 334.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02601, allocations: 0 / 334.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.02732, allocations: 0.527 MB / 335.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.02733, allocations: 0 / 335.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.0276, allocations: 45.61 kB / 335.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.02761, allocations: 1.469 kB / 335.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.02764, allocations: 9.25 kB / 335.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.02764, allocations: 5.453 kB / 335.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02765, allocations: 0 / 335.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.02894, allocations: 483.4 kB / 335.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.02898, allocations: 16.94 kB / 335.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.02903, allocations: 12.41 kB / 335.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.02923, allocations: 19.22 kB / 335.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.02931, allocations: 20.91 kB / 335.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.02933, allocations: 5.719 kB / 335.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.02949, allocations: 139.7 kB / 335.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02949, allocations: 1.469 kB / 335.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006637/0.03016, allocations: 113.8 kB / 336 MB, free: 9.395 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.0009388/0.03109, allocations: 288.1 kB / 336.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.03211, allocations: 267.7 kB / 336.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.03212, allocations: 0 / 336.5 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.03251, allocations: 113.4 kB / 336.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.03292, allocations: 29.83 kB / 336.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.03426, allocations: 440 kB / 337.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.03442, allocations: 130.3 kB / 337.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.03455, allocations: 30.59 kB / 337.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.03466, allocations: 24.48 kB / 337.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.03466, allocations: 0 / 337.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of Templates: time 0.009265/0.04393, allocations: 3.644 MB / 340.9 MB, free: 4.98 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.594325877726078]