Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008406/0.0008406, allocations: 97.59 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009467/0.0009467, allocations: 204 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002523, allocations: 8 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08724, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002026/0.08931, allocations: 1.583 MB / 361.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.09151, allocations: 1.31 MB / 362.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.09168, allocations: 4 kB / 362.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.09181, allocations: 11.86 kB / 362.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.09199, allocations: 23.86 kB / 362.8 MB, free: 10.36 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008723/0.09289, allocations: 251.4 kB / 363.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.09317, allocations: 199.5 kB / 363.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.09335, allocations: 68.27 kB / 363.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.09346, allocations: 75.62 kB / 363.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.09401, allocations: 117.1 kB / 363.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.09405, allocations: 8 kB / 363.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005067/0.09457, allocations: 299.4 kB / 363.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.09463, allocations: 35.84 kB / 363.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.09474, allocations: 117.1 kB / 364 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.09512, allocations: 271.7 kB / 364.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09513, allocations: 0 / 364.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.09514, allocations: 3.938 kB / 364.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.09516, allocations: 0 / 364.3 MB, free: 8.949 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.00113/0.09629, allocations: 0.5624 MB / 364.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.09634, allocations: 12.03 kB / 364.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.09658, allocations: 36.64 kB / 364.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.09684, allocations: 239.8 kB / 365.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.09688, allocations: 16.66 kB / 365.1 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.09693, allocations: 28.03 kB / 365.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.09745, allocations: 218.7 kB / 365.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.09747, allocations: 0 / 365.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.09749, allocations: 4 kB / 365.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.09751, allocations: 4 kB / 365.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.09803, allocations: 189.3 kB / 365.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.0991, allocations: 0.5828 MB / 366.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1002, allocations: 382.6 kB / 366.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.1006, allocations: 124.8 kB / 366.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1006, allocations: 11.98 kB / 366.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004216/0.101, allocations: 186.4 kB / 366.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.101, allocations: 0 / 366.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001111/0.1022, allocations: 401.2 kB / 367.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.1022, allocations: 75.33 kB / 367.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1025, allocations: 218.6 kB / 367.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.1025, allocations: 45.69 kB / 367.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.1026, allocations: 124.5 kB / 367.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.1027, allocations: 74.98 kB / 367.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.1027, allocations: 37.7 kB / 367.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1028, allocations: 334.8 kB / 368.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.1032, allocations: 147.9 kB / 368.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.1036, allocations: 185.6 kB / 368.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.1044, allocations: 311.2 kB / 368.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1044, allocations: 0 / 368.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009129/0.1053, allocations: 423.8 kB / 369.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1053, allocations: 4 kB / 369.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1053, allocations: 0 / 369.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1053, allocations: 4 kB / 369.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.1057, allocations: 75.89 kB / 369.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1057, allocations: 7.984 kB / 369.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1059, allocations: 55.67 kB / 369.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1059, allocations: 11.98 kB / 369.3 MB, free: 3.656 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.0001442/0.1061, allocations: 145.6 kB / 369.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1061, allocations: 15.81 kB / 369.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.1062, allocations: 25.8 kB / 369.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1062, allocations: 7.984 kB / 369.5 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1062, allocations: 4 kB / 369.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1062, allocations: 0 / 369.5 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.1074, allocations: 0.6659 MB / 370.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1074, allocations: 7.938 kB / 370.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1077, allocations: 47.95 kB / 370.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1077, allocations: 0 / 370.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1077, allocations: 12 kB / 370.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1077, allocations: 0 / 370.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1077, allocations: 3.938 kB / 370.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1088, allocations: 0.5386 MB / 370.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.1089, allocations: 92.98 kB / 370.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.1089, allocations: 7.938 kB / 370.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1092, allocations: 31.97 kB / 370.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.1092, allocations: 15.97 kB / 370.9 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1093, allocations: 8 kB / 370.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1094, allocations: 156.7 kB / 371.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1094, allocations: 0 / 371.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.1098, allocations: 103.8 kB / 371.2 MB, free: 1.676 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.0006107/0.1105, allocations: 262.8 kB / 371.4 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000833/0.1113, allocations: 315.8 kB / 371.7 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1113, allocations: 0 / 371.7 MB, free: 1.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.1117, allocations: 135.9 kB / 371.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.112, allocations: 35.12 kB / 371.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.113, allocations: 0.5716 MB / 372.5 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1629/0.276, allocations: 0.7385 MB / 373.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.2762, allocations: 25.92 kB / 373.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2762, allocations: 0.7812 kB / 373.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of Templates: time 0.008798/0.285, allocations: 4.087 MB / 377.3 MB, free: 18.41 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var