Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 179.1 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008603/0.0008605, allocations: 94.31 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2703, allocations: 47.59 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001964/0.2723, allocations: 1.514 MB / 378.1 MB, free: 44.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.2746, allocations: 1.941 MB / 380.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2747, allocations: 2.188 kB / 380.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.2749, allocations: 16.86 kB / 380.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.275, allocations: 14.2 kB / 380.1 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.2758, allocations: 265.9 kB / 380.3 MB, free: 42.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.2761, allocations: 200.4 kB / 380.5 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.2763, allocations: 60.81 kB / 380.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.2764, allocations: 87.61 kB / 380.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2766, allocations: 93.02 kB / 380.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.2766, allocations: 9.469 kB / 380.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.2772, allocations: 289.8 kB / 381.1 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.2773, allocations: 41.83 kB / 381.1 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2774, allocations: 116.5 kB / 381.2 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.2779, allocations: 381.5 kB / 381.6 MB, free: 41.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2779, allocations: 5.156 kB / 381.6 MB, free: 41.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2779, allocations: 0 / 381.6 MB, free: 41.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2779, allocations: 3.938 kB / 381.6 MB, free: 41.55 MB / 298.7 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.0009885/0.2789, allocations: 0.5591 MB / 382.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.279, allocations: 9.844 kB / 382.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2792, allocations: 30.55 kB / 382.2 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.2794, allocations: 249.9 kB / 382.5 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.2795, allocations: 21.58 kB / 382.5 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.2795, allocations: 21.78 kB / 382.5 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.28, allocations: 220.8 kB / 382.7 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.28, allocations: 0 / 382.7 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.2801, allocations: 5.281 kB / 382.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2801, allocations: 7.938 kB / 382.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.2806, allocations: 182.2 kB / 382.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.2815, allocations: 0.5801 MB / 383.5 MB, free: 40.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2826, allocations: 376.7 kB / 383.8 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.2829, allocations: 133.1 kB / 384 MB, free: 39.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2829, allocations: 6.938 kB / 384 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.2833, allocations: 181.5 kB / 384.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.2833, allocations: 4 kB / 384.2 MB, free: 39.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.2844, allocations: 412.2 kB / 384.6 MB, free: 39.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.2844, allocations: 60.91 kB / 384.6 MB, free: 39.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.2846, allocations: 208.8 kB / 384.8 MB, free: 39.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2847, allocations: 40.45 kB / 384.9 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.2847, allocations: 133.1 kB / 385 MB, free: 39.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.2848, allocations: 68.25 kB / 385.1 MB, free: 39.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.2848, allocations: 8.906 kB / 385.1 MB, free: 39.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.2849, allocations: 333.1 kB / 385.4 MB, free: 38.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2852, allocations: 148 kB / 385.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.2856, allocations: 179.6 kB / 385.7 MB, free: 38.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.2862, allocations: 304.2 kB / 386 MB, free: 38.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2862, allocations: 3.938 kB / 386 MB, free: 38.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007797/0.287, allocations: 420.2 kB / 386.4 MB, free: 38.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.287, allocations: 4 kB / 386.4 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2871, allocations: 4 kB / 386.4 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2871, allocations: 0 / 386.4 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.2874, allocations: 83.88 kB / 386.5 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2874, allocations: 0 / 386.5 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.2875, allocations: 47.67 kB / 386.6 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.2876, allocations: 15.98 kB / 386.6 MB, free: 38.1 MB / 298.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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.0001112/0.2877, allocations: 145.6 kB / 386.7 MB, free: 37.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.2877, allocations: 23.7 kB / 386.7 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.2878, allocations: 21.88 kB / 386.8 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2878, allocations: 7.938 kB / 386.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2878, allocations: 0 / 386.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2878, allocations: 0 / 386.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.2888, allocations: 0.6834 MB / 387.5 MB, free: 37.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2888, allocations: 4 kB / 387.5 MB, free: 37.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.289, allocations: 59.89 kB / 387.5 MB, free: 37.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.289, allocations: 0 / 387.5 MB, free: 37.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2891, allocations: 4 kB / 387.5 MB, free: 37.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2891, allocations: 7.984 kB / 387.5 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2891, allocations: 0 / 387.5 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008345/0.2899, allocations: 0.5332 MB / 388.1 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.29, allocations: 100.8 kB / 388.2 MB, free: 36.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.29, allocations: 12 kB / 388.2 MB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2902, allocations: 31.97 kB / 388.2 MB, free: 36.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.2902, allocations: 7.984 kB / 388.2 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2903, allocations: 8 kB / 388.2 MB, free: 36.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.531e-05/0.2904, allocations: 151.2 kB / 388.4 MB, free: 36.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2904, allocations: 3.938 kB / 388.4 MB, free: 36.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.2908, allocations: 108 kB / 388.5 MB, free: 36.1 MB / 298.7 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.0006257/0.2914, allocations: 300.5 kB / 388.8 MB, free: 35.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.2921, allocations: 323.7 kB / 389.1 MB, free: 35.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2921, allocations: 0 / 389.1 MB, free: 35.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.2924, allocations: 135.9 kB / 389.2 MB, free: 35.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.2927, allocations: 23.92 kB / 389.2 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.2935, allocations: 0.5344 MB / 389.8 MB, free: 34.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2936, allocations: 0.7398 MB / 390.5 MB, free: 34.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.2937, allocations: 33.92 kB / 390.6 MB, free: 34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.2938, allocations: 27.42 kB / 390.6 MB, free: 33.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2938, allocations: 3.938 kB / 390.6 MB, free: 33.97 MB / 298.7 MB Notification: Performance of Templates: time 0.006132/0.3, allocations: 3.582 MB / 394.2 MB, free: 30.4 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches