Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 103.9 kB / 18.39 MB, free: 4.641 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.001335/0.001335, allocations: 190.5 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 51.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08439, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003098/0.08753, allocations: 1.838 MB / 377.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.08971, allocations: 1.267 MB / 378.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.08987, allocations: 0 / 378.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.09001, allocations: 23.67 kB / 379 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.818e-05/0.09012, allocations: 31.72 kB / 379 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009895/0.09112, allocations: 319 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.09139, allocations: 223.5 kB / 379.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.09157, allocations: 68.23 kB / 379.6 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.09172, allocations: 95.62 kB / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.09188, allocations: 111.5 kB / 379.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.09193, allocations: 20 kB / 379.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.09241, allocations: 291.5 kB / 380.1 MB, free: 284 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.09249, allocations: 59.81 kB / 380.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.09259, allocations: 103.4 kB / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1859/0.2785, allocations: 396.2 kB / 380.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2785, allocations: 0 / 380.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2785, allocations: 1.375 kB / 380.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2786, allocations: 0 / 380.6 MB, free: 10.28 MB / 318.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.001164/0.2797, allocations: 0.5724 MB / 381.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2798, allocations: 9.75 kB / 381.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.28, allocations: 33.44 kB / 381.2 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2802, allocations: 241.3 kB / 381.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.2803, allocations: 16.41 kB / 381.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.2803, allocations: 20.75 kB / 381.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.2808, allocations: 195 kB / 381.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2808, allocations: 4.906 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2809, allocations: 5.172 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2809, allocations: 6.875 kB / 381.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.2813, allocations: 151.4 kB / 381.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.2823, allocations: 0.5678 MB / 382.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2833, allocations: 303.7 kB / 382.7 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.2837, allocations: 115 kB / 382.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2837, allocations: 13.42 kB / 382.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.2841, allocations: 167.8 kB / 383 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.2841, allocations: 0 / 383 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001097/0.2852, allocations: 357.5 kB / 383.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.2852, allocations: 65.33 kB / 383.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.2854, allocations: 210.8 kB / 383.6 MB, free: 9.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.2855, allocations: 41.23 kB / 383.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.2855, allocations: 127.3 kB / 383.8 MB, free: 8.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2856, allocations: 73.16 kB / 383.9 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.2857, allocations: 68.19 kB / 383.9 MB, free: 8.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.2858, allocations: 334.6 kB / 384.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.2861, allocations: 133 kB / 384.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.2865, allocations: 160.9 kB / 384.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/0.2871, allocations: 267.2 kB / 384.8 MB, free: 8.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2871, allocations: 4.531 kB / 384.8 MB, free: 8.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007818/0.2879, allocations: 379.5 kB / 385.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2879, allocations: 10.5 kB / 385.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2879, allocations: 0 / 385.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2879, allocations: 2.188 kB / 385.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.2882, allocations: 67.8 kB / 385.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2882, allocations: 4.594 kB / 385.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2884, allocations: 45.56 kB / 385.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2884, allocations: 13.22 kB / 385.3 MB, free: 8.383 MB / 318.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.0001172/0.2886, allocations: 145.3 kB / 385.5 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.2886, allocations: 26.53 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.2887, allocations: 23.17 kB / 385.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2887, allocations: 3.531 kB / 385.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.2887, allocations: 1.734 kB / 385.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2887, allocations: 4.656 kB / 385.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.2897, allocations: 0.6323 MB / 386.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2897, allocations: 4 kB / 386.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.29, allocations: 44.56 kB / 386.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.29, allocations: 2.062 kB / 386.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.29, allocations: 7.438 kB / 386.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.29, allocations: 1.844 kB / 386.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.29, allocations: 0 / 386.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.291, allocations: 488.3 kB / 386.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.2911, allocations: 100.2 kB / 386.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.2911, allocations: 12.41 kB / 386.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2913, allocations: 25.03 kB / 386.8 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2914, allocations: 11.33 kB / 386.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2914, allocations: 9.703 kB / 386.9 MB, free: 7.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.2915, allocations: 148.9 kB / 387 MB, free: 7.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2915, allocations: 0 / 387 MB, free: 7.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.292, allocations: 106.1 kB / 387.1 MB, free: 7.566 MB / 318.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.0006498/0.2927, allocations: 298.9 kB / 387.4 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007555/0.2934, allocations: 274 kB / 387.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2935, allocations: 0 / 387.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.2938, allocations: 118.1 kB / 387.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2941, allocations: 28.97 kB / 387.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/0.295, allocations: 489.9 kB / 388.3 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2952, allocations: 0.7349 MB / 389 MB, free: 6.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.2953, allocations: 25.78 kB / 389.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2953, allocations: 0 / 389.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Templates: time 0.009421/0.3047, allocations: 4.216 MB / 393.3 MB, free: 5.965 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches