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.001993/0.001993, allocations: 109.9 kB / 17.16 MB, free: 6.082 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.002576/0.002576, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.404/2.404, allocations: 222.9 MB / 241.8 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 38.41 kB / 300.6 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1962, allocations: 49.44 MB / 350 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.007025/0.2033, allocations: 1.925 MB / 352 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.2071, allocations: 0.9821 MB / 353 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.2074, allocations: 4 kB / 353 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.2076, allocations: 15.86 kB / 353 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.2081, allocations: 27.78 kB / 353 MB, free: 1.684 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.001185/0.2093, allocations: 151.7 kB / 353.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.2098, allocations: 207.5 kB / 353.4 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.2101, allocations: 64.27 kB / 353.4 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.2104, allocations: 83.62 kB / 353.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009718/0.2114, allocations: 114.7 kB / 353.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.2115, allocations: 16 kB / 353.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.212, allocations: 111.8 kB / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.2121, allocations: 47.83 kB / 353.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.2123, allocations: 91.39 kB / 353.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.2129, allocations: 207.8 kB / 354.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2129, allocations: 4 kB / 354.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2129, allocations: 0 / 354.1 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.2129, allocations: 0 / 354.1 MB, free: 0.6094 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.002157/0.2151, allocations: 0.5544 MB / 354.6 MB, free: 4 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.875e-05/0.2152, allocations: 8.078 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.2157, allocations: 40.59 kB / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.2162, allocations: 237.6 kB / 354.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.2163, allocations: 20.22 kB / 354.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.2164, allocations: 20 kB / 354.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2174, allocations: 190.9 kB / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2174, allocations: 0 / 355.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.2175, allocations: 12 kB / 355.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2175, allocations: 4 kB / 355.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/0.2185, allocations: 144.4 kB / 355.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.2204, allocations: 0.5823 MB / 355.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.2226, allocations: 311.5 kB / 356.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.2232, allocations: 120.8 kB / 356.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.2233, allocations: 0 / 356.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008202/0.2241, allocations: 167.3 kB / 356.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 3.056e-06/0.2241, allocations: 0 / 356.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00189/0.226, allocations: 358.8 kB / 356.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.888e-05/0.2261, allocations: 59.41 kB / 356.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.2266, allocations: 219.6 kB / 357.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.42e-05/0.2267, allocations: 37.69 kB / 357.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.2269, allocations: 120.6 kB / 357.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.227, allocations: 86.91 kB / 357.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.2272, allocations: 69.69 kB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.2275, allocations: 334.8 kB / 357.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.2281, allocations: 127.9 kB / 357.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.2287, allocations: 166.5 kB / 358 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.2298, allocations: 268.3 kB / 358.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.2298, allocations: 0 / 358.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001471/0.2313, allocations: 366.8 kB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.2314, allocations: 4 kB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.2314, allocations: 3.984 kB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.2314, allocations: 7.984 kB / 358.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.2321, allocations: 71.92 kB / 358.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.2321, allocations: 4 kB / 358.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.2325, allocations: 35.72 kB / 358.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.2326, allocations: 15.94 kB / 358.8 MB, free: 11.68 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.0003017/0.2329, allocations: 149.6 kB / 358.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.233, allocations: 19.8 kB / 358.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.2331, allocations: 21.88 kB / 359 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2332, allocations: 0 / 359 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/0.2332, allocations: 0 / 359 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.2332, allocations: 7.984 kB / 359 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.2354, allocations: 0.6307 MB / 359.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2354, allocations: 4 kB / 359.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.2358, allocations: 43.89 kB / 359.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.2358, allocations: 0 / 359.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.2359, allocations: 12 kB / 359.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2359, allocations: 0 / 359.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.2359, allocations: 0 / 359.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2377, allocations: 496.6 kB / 360.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2379, allocations: 92.86 kB / 360.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.238, allocations: 8.062 kB / 360.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.2383, allocations: 19.97 kB / 360.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.2384, allocations: 11.98 kB / 360.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.2384, allocations: 16.11 kB / 360.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002498/0.2387, allocations: 147.2 kB / 360.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2387, allocations: 0 / 360.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007061/0.2394, allocations: 67.89 kB / 360.5 MB, free: 9.855 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.0007887/0.2402, allocations: 198 kB / 360.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.2416, allocations: 293.6 kB / 361 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2416, allocations: 0 / 361 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.2422, allocations: 118.3 kB / 361.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.2428, allocations: 31.92 kB / 361.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.2447, allocations: 0.5356 MB / 361.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.2453, allocations: 0.7398 MB / 362.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.2455, allocations: 31.36 kB / 362.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of SimCode: time 1.613e-06/0.2455, allocations: 0 / 362.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of Templates: time 0.01135/0.2568, allocations: 3.34 MB / 365.8 MB, free: 4.551 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