Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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) 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(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110.3 kB / 17.28 MB, free: 6.219 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.001205/0.001205, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.347/1.347, allocations: 222.9 MB / 241.9 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001012, allocations: 46.77 kB / 300.8 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09236, allocations: 49.45 MB / 350.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003505/0.09591, allocations: 1.898 MB / 352.1 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.09783, allocations: 0.9821 MB / 353.1 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.098, allocations: 4 kB / 353.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.0982, allocations: 11.86 kB / 353.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.09843, allocations: 23.84 kB / 353.2 MB, free: 1.828 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006806/0.09912, allocations: 151.7 kB / 353.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.09942, allocations: 219.5 kB / 353.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.09962, allocations: 68.08 kB / 353.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.09978, allocations: 95.67 kB / 353.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.1004, allocations: 119.4 kB / 353.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.1005, allocations: 24 kB / 353.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.1008, allocations: 119.9 kB / 353.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.1009, allocations: 67.75 kB / 354 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.101, allocations: 103.4 kB / 354.1 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1014, allocations: 203.8 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1014, allocations: 4 kB / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1014, allocations: 0 / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1014, allocations: 0 / 354.3 MB, free: 0.6758 MB / 286.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.001182/0.1026, allocations: 0.5467 MB / 354.9 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1026, allocations: 12.03 kB / 354.9 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1029, allocations: 36.64 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1032, allocations: 241.6 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1032, allocations: 20.2 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.1033, allocations: 20 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.1038, allocations: 202.9 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1038, allocations: 0 / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1038, allocations: 4 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1038, allocations: 4 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.1043, allocations: 156.3 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1054, allocations: 0.5784 MB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.1064, allocations: 310.6 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.1067, allocations: 112.8 kB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1067, allocations: 8 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.1071, allocations: 167.2 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.1071, allocations: 0 / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009937/0.1081, allocations: 350.7 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1082, allocations: 63.38 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1084, allocations: 215.7 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.1085, allocations: 41.7 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.1086, allocations: 124.6 kB / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/0.1086, allocations: 70.92 kB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1088, allocations: 73.67 kB / 357.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1089, allocations: 330.8 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1092, allocations: 127.9 kB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.1096, allocations: 166.5 kB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.1102, allocations: 276.3 kB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1102, allocations: 0 / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007517/0.111, allocations: 382.7 kB / 358.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.111, allocations: 7.125 kB / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.111, allocations: 0 / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.111, allocations: 0 / 358.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.1113, allocations: 75.88 kB / 359 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1113, allocations: 3.984 kB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.1115, allocations: 35.73 kB / 359 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.1116, allocations: 19.92 kB / 359 MB, free: 11.74 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.0001468/0.1117, allocations: 141.6 kB / 359.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1118, allocations: 15.81 kB / 359.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.1118, allocations: 21.86 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1118, allocations: 4 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1118, allocations: 0 / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1119, allocations: 0 / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.113, allocations: 0.6478 MB / 359.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.113, allocations: 0 / 359.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.1132, allocations: 47.95 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1133, allocations: 3.938 kB / 359.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1133, allocations: 4 kB / 359.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1133, allocations: 4 kB / 359.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1133, allocations: 0 / 359.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.1143, allocations: 487.3 kB / 360.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1143, allocations: 100.8 kB / 360.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1144, allocations: 8.062 kB / 360.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1146, allocations: 19.97 kB / 360.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1146, allocations: 15.98 kB / 360.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1147, allocations: 4 kB / 360.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1148, allocations: 155.2 kB / 360.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1148, allocations: 0 / 360.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.1152, allocations: 67.84 kB / 360.7 MB, free: 9.91 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 (18): * Single equations (assignments): 16 * 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.000451/0.1157, allocations: 193.4 kB / 360.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008609/0.1165, allocations: 307.5 kB / 361.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1166, allocations: 4 kB / 361.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.1169, allocations: 111.9 kB / 361.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1173, allocations: 31.98 kB / 361.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1185, allocations: 0.5278 MB / 361.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1189, allocations: 0.7437 MB / 362.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.119, allocations: 23.42 kB / 362.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.119, allocations: 3.938 kB / 362.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of Templates: time 0.006549/0.1256, allocations: 3.352 MB / 366 MB, free: 4.59 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches