Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 223.8 MB, free: 8.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001003, allocations: 103.9 kB / 271.2 MB, free: 8.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000886/0.0008862, allocations: 43.94 kB / 327.2 MB, free: 368 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.212, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002949/0.215, allocations: 1.902 MB / 375.7 MB, free: 44.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2165, allocations: 1.019 MB / 376.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.2166, allocations: 6.031 kB / 376.7 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2168, allocations: 11.86 kB / 376.8 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2169, allocations: 22.97 kB / 376.8 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.2173, allocations: 156.6 kB / 376.9 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.2176, allocations: 208.7 kB / 377.1 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2177, allocations: 72.61 kB / 377.2 MB, free: 43.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.2178, allocations: 88.23 kB / 377.3 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.2179, allocations: 106.6 kB / 377.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.218, allocations: 13.25 kB / 377.4 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.2182, allocations: 119.1 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.2182, allocations: 57.06 kB / 377.6 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.2183, allocations: 96.41 kB / 377.7 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.2186, allocations: 286.7 kB / 378 MB, free: 42.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2186, allocations: 0 / 378 MB, free: 42.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2186, allocations: 0 / 378 MB, free: 42.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2186, allocations: 1.125 kB / 378 MB, free: 42.75 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.0009302/0.2196, allocations: 0.5611 MB / 378.5 MB, free: 42.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2196, allocations: 10.31 kB / 378.5 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.2198, allocations: 39.11 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.22, allocations: 242.8 kB / 378.8 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.22, allocations: 12.91 kB / 378.8 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.2201, allocations: 21.19 kB / 378.8 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.2205, allocations: 207 kB / 379 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2205, allocations: 0 / 379 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.2205, allocations: 5.562 kB / 379 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2206, allocations: 7.25 kB / 379.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.221, allocations: 155.1 kB / 379.2 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.2218, allocations: 0.5786 MB / 379.8 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.2228, allocations: 303.5 kB / 380.1 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.2231, allocations: 117.2 kB / 380.2 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2231, allocations: 6.656 kB / 380.2 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.2235, allocations: 170.8 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.2235, allocations: 0 / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000913/0.2244, allocations: 354.1 kB / 380.7 MB, free: 40.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2244, allocations: 64.83 kB / 380.8 MB, free: 40.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2246, allocations: 215.3 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.2247, allocations: 36.39 kB / 381 MB, free: 40.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.2247, allocations: 132.5 kB / 381.1 MB, free: 40.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2248, allocations: 68.89 kB / 381.2 MB, free: 40.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.2249, allocations: 71.89 kB / 381.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.2249, allocations: 327.9 kB / 381.6 MB, free: 39.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.2253, allocations: 127.9 kB / 381.7 MB, free: 39.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.2256, allocations: 163.8 kB / 381.9 MB, free: 39.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.2262, allocations: 265 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2262, allocations: 3.938 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007141/0.2269, allocations: 381 kB / 382.5 MB, free: 39.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2269, allocations: 5.031 kB / 382.5 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2269, allocations: 0 / 382.5 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.227, allocations: 3.344 kB / 382.5 MB, free: 39.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.2272, allocations: 67.69 kB / 382.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2273, allocations: 2.281 kB / 382.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2274, allocations: 50.69 kB / 382.7 MB, free: 39.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2274, allocations: 14.92 kB / 382.7 MB, free: 39.39 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,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.0001069/0.2276, allocations: 148.4 kB / 382.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.2276, allocations: 22.95 kB / 382.8 MB, free: 39.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.2277, allocations: 22.84 kB / 382.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2277, allocations: 1.312 kB / 382.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2277, allocations: 1.375 kB / 382.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2277, allocations: 3.984 kB / 382.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.2287, allocations: 0.6297 MB / 383.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2287, allocations: 1.281 kB / 383.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.2289, allocations: 54.05 kB / 383.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2289, allocations: 1.094 kB / 383.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.2289, allocations: 2.438 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2289, allocations: 0 / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2289, allocations: 1.156 kB / 383.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.2324, allocations: 2.179 MB / 385.7 MB, free: 36.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.2325, allocations: 101.2 kB / 385.8 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.2325, allocations: 8.406 kB / 385.8 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2327, allocations: 23.22 kB / 385.9 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.2327, allocations: 10.86 kB / 385.9 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2328, allocations: 12.36 kB / 385.9 MB, free: 36.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2329, allocations: 154 kB / 386 MB, free: 36.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2329, allocations: 0 / 386 MB, free: 36.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004278/0.2333, allocations: 82.53 kB / 386.1 MB, free: 36.72 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.0004129/0.2337, allocations: 223.1 kB / 386.3 MB, free: 36.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.2344, allocations: 286.4 kB / 386.6 MB, free: 36.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2344, allocations: 4 kB / 386.6 MB, free: 36.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.2346, allocations: 115.8 kB / 386.7 MB, free: 36.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.235, allocations: 35.91 kB / 386.8 MB, free: 36.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.2358, allocations: 0.6895 MB / 387.5 MB, free: 35.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2359, allocations: 0.744 MB / 388.2 MB, free: 34.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.236, allocations: 33.94 kB / 388.2 MB, free: 34.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.2361, allocations: 23.42 kB / 388.3 MB, free: 34.59 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2361, allocations: 3.938 kB / 388.3 MB, free: 34.59 MB / 298.7 MB Notification: Performance of Templates: time 0.005522/0.2417, allocations: 3.605 MB / 391.9 MB, free: 30.98 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches