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.001272/0.001272, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.4/1.4, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0008829/0.000883, allocations: 82.36 kB / 272.5 MB, free: 8.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2476, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09264/0.3403, allocations: 78.39 MB / 455.4 MB, free: 2.195 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3406, allocations: 75.95 kB / 455.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02053/0.3612, allocations: 5.165 MB / 460.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3613, allocations: 0 / 460.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.3613, allocations: 7.938 kB / 460.7 MB, free: 12.94 MB / 346.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.001319/0.3626, allocations: 0.5443 MB / 461.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3627, allocations: 8.031 kB / 461.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.363, allocations: 36.67 kB / 461.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.3635, allocations: 244.7 kB / 461.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.3635, allocations: 16.66 kB / 461.5 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.3636, allocations: 20.38 kB / 461.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.3643, allocations: 219.6 kB / 461.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3643, allocations: 192 / 461.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.3644, allocations: 7.938 kB / 461.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3644, allocations: 7.984 kB / 461.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.365, allocations: 188.3 kB / 461.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3665, allocations: 0.5863 MB / 462.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.368, allocations: 382.6 kB / 462.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.3684, allocations: 132.8 kB / 463 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3685, allocations: 8 kB / 463 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/0.369, allocations: 179.9 kB / 463.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.937e-06/0.3691, allocations: 0 / 463.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001489/0.3706, allocations: 428.6 kB / 463.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.3707, allocations: 59.34 kB / 463.7 MB, free: 9.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.371, allocations: 211.7 kB / 463.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.3711, allocations: 41.69 kB / 463.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3712, allocations: 120.6 kB / 464 MB, free: 9.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3714, allocations: 75 kB / 464.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.3714, allocations: 4 kB / 464.1 MB, free: 9.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.3716, allocations: 334.8 kB / 464.5 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.3722, allocations: 147.7 kB / 464.6 MB, free: 8.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.3727, allocations: 173.6 kB / 464.8 MB, free: 8.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.3736, allocations: 296.6 kB / 465.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3736, allocations: 0 / 465.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001256/0.3749, allocations: 414.8 kB / 465.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.3749, allocations: 8 kB / 465.5 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.3749, allocations: 4 kB / 465.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.375, allocations: 0 / 465.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.3754, allocations: 75.89 kB / 465.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.3755, allocations: 4 kB / 465.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3757, allocations: 63.53 kB / 465.6 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.3758, allocations: 8 kB / 465.6 MB, free: 7.734 MB / 346.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.0002489/0.3761, allocations: 153.9 kB / 465.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.3761, allocations: 23.66 kB / 465.8 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.3762, allocations: 25.86 kB / 465.8 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3762, allocations: 4 kB / 465.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3763, allocations: 0 / 465.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3763, allocations: 0 / 465.8 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.3778, allocations: 0.6739 MB / 466.5 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3778, allocations: 0 / 466.5 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.3781, allocations: 55.89 kB / 466.6 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3781, allocations: 4 kB / 466.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3782, allocations: 4 kB / 466.6 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3782, allocations: 4 kB / 466.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3782, allocations: 0 / 466.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3793, allocations: 0.5395 MB / 467.1 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.3793, allocations: 92.86 kB / 467.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.3794, allocations: 12.05 kB / 467.2 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3796, allocations: 31.92 kB / 467.2 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.3797, allocations: 27.84 kB / 467.3 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3797, allocations: 4 kB / 467.3 MB, free: 5.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.3798, allocations: 147.2 kB / 467.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3798, allocations: 0 / 467.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004292/0.3803, allocations: 91.92 kB / 467.5 MB, free: 5.75 MB / 346.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.0005915/0.3809, allocations: 230 kB / 467.7 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007992/0.3817, allocations: 353.9 kB / 468.1 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3817, allocations: 0 / 468.1 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.382, allocations: 134.6 kB / 468.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3824, allocations: 23.94 kB / 468.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009486/0.3834, allocations: 0.5264 MB / 468.8 MB, free: 4.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3837, allocations: 0.7359 MB / 469.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.3839, allocations: 29.94 kB / 469.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.3839, allocations: 27.42 kB / 469.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.384, allocations: 0 / 469.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of Templates: time 0.007228/0.3912, allocations: 3.112 MB / 472.7 MB, free: 0.5625 MB / 346.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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