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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 240.3 MB, free: 10.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007216/0.0007215, allocations: 98.56 kB / 291.5 MB, free: 10.67 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.0002441, allocations: 8 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2289, allocations: 50.4 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.33, allocations: 79.15 MB / 480.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.3303, allocations: 75.97 kB / 480.7 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.3461, allocations: 5.209 MB / 485.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3462, allocations: 0 / 485.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.3462, allocations: 4 kB / 485.9 MB, free: 11.98 MB / 362.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.001078/0.3473, allocations: 0.5441 MB / 486.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3474, allocations: 12.02 kB / 486.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.3476, allocations: 27.81 kB / 486.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3479, allocations: 244.2 kB / 486.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.3479, allocations: 16.28 kB / 486.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.348, allocations: 24 kB / 486.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.3485, allocations: 206.9 kB / 487 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3485, allocations: 0 / 487 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3485, allocations: 11.94 kB / 487 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3486, allocations: 7.953 kB / 487 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.349, allocations: 176.4 kB / 487.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.35, allocations: 0.5943 MB / 487.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3511, allocations: 381.5 kB / 488.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3512, allocations: 4 kB / 488.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.3516, allocations: 183.4 kB / 488.3 MB, free: 9.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.277e-06/0.3516, allocations: 4 kB / 488.3 MB, free: 9.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.00111/0.3527, allocations: 493.4 kB / 488.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3528, allocations: 63.78 kB / 488.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.353, allocations: 194.9 kB / 489.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.3531, allocations: 37.7 kB / 489.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.3532, allocations: 136.6 kB / 489.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.3532, allocations: 70.95 kB / 489.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.3532, allocations: 4 kB / 489.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3534, allocations: 334.8 kB / 489.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.3537, allocations: 143.9 kB / 489.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.3541, allocations: 173.6 kB / 490 MB, free: 7.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.3545, allocations: 151.6 kB / 490.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3545, allocations: 0 / 490.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008215/0.3553, allocations: 406.5 kB / 490.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.3553, allocations: 4 kB / 490.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.3554, allocations: 4 kB / 490.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3554, allocations: 0 / 490.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3557, allocations: 79.88 kB / 490.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3557, allocations: 4 kB / 490.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3559, allocations: 43.67 kB / 490.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.356, allocations: 27.94 kB / 490.7 MB, free: 7.016 MB / 362.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): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.3561, allocations: 137.8 kB / 490.8 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3562, allocations: 27.66 kB / 490.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.3563, allocations: 17.88 kB / 490.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3563, allocations: 4 kB / 490.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3563, allocations: 4 kB / 490.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3563, allocations: 3.984 kB / 490.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3575, allocations: 0.6777 MB / 491.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3575, allocations: 3.984 kB / 491.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.3577, allocations: 55.91 kB / 491.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3578, allocations: 0 / 491.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.3578, allocations: 11.98 kB / 491.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3578, allocations: 0 / 491.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3578, allocations: 3.953 kB / 491.6 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.3588, allocations: 0.5301 MB / 492.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.3589, allocations: 108.8 kB / 492.2 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.359, allocations: 4 kB / 492.2 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3591, allocations: 27.97 kB / 492.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.3592, allocations: 11.98 kB / 492.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3592, allocations: 19.94 kB / 492.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.3594, allocations: 151.2 kB / 492.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3594, allocations: 0 / 492.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004289/0.3598, allocations: 83.91 kB / 492.5 MB, free: 5.039 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000508/0.3603, allocations: 228.6 kB / 492.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.3611, allocations: 342.1 kB / 493.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3611, allocations: 0 / 493.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.3614, allocations: 142.2 kB / 493.2 MB, free: 4.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3617, allocations: 19.98 kB / 493.2 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.3627, allocations: 0.5097 MB / 493.8 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3631, allocations: 0.7552 MB / 494.5 MB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.3632, allocations: 29.94 kB / 494.5 MB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.133e-05/0.3633, allocations: 27.42 kB / 494.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3633, allocations: 0 / 494.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of Templates: time 0.006912/0.3702, allocations: 3.074 MB / 497.6 MB, free: 15.92 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches