Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009489/0.0009489, allocations: 89.16 kB / 297.3 MB, free: 6.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002419/0.0002421, allocations: 4 kB / 357.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2164, allocations: 51.47 MB / 409.4 MB, free: 26.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09355/0.31, allocations: 79.97 MB / 489.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.3103, allocations: 75.97 kB / 489.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.325, allocations: 5.26 MB / 494.7 MB, free: 5.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3251, allocations: 0 / 494.7 MB, free: 5.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3251, allocations: 8 kB / 494.7 MB, free: 5.332 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.0008266/0.3259, allocations: 0.5402 MB / 495.3 MB, free: 4.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.326, allocations: 12.03 kB / 495.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.3262, allocations: 31.8 kB / 495.3 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3264, allocations: 248 kB / 495.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3265, allocations: 20.28 kB / 495.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.3265, allocations: 19.95 kB / 495.6 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.327, allocations: 218.9 kB / 495.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.327, allocations: 0 / 495.8 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.3271, allocations: 7.984 kB / 495.8 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3271, allocations: 4 kB / 495.8 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.3275, allocations: 176.4 kB / 496 MB, free: 3.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009502/0.3285, allocations: 0.5864 MB / 496.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3295, allocations: 380.8 kB / 496.9 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3296, allocations: 3.938 kB / 496.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.33, allocations: 194.9 kB / 497.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.33, allocations: 7.938 kB / 497.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001019/0.331, allocations: 493.5 kB / 497.6 MB, free: 2.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3311, allocations: 55.78 kB / 497.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3312, allocations: 190.9 kB / 497.9 MB, free: 1.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.3313, allocations: 49.69 kB / 497.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.3314, allocations: 124.6 kB / 498 MB, free: 1.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.3314, allocations: 67.02 kB / 498.1 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.3315, allocations: 8 kB / 498.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.3316, allocations: 330.8 kB / 498.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.3319, allocations: 152.6 kB / 498.6 MB, free: 1.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3323, allocations: 165.6 kB / 498.7 MB, free: 1.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3326, allocations: 154.9 kB / 498.9 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3326, allocations: 0 / 498.9 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008177/0.3334, allocations: 410.5 kB / 499.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3335, allocations: 4 kB / 499.3 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3335, allocations: 3.953 kB / 499.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3335, allocations: 4 kB / 499.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.3338, allocations: 87.88 kB / 499.4 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3338, allocations: 0 / 499.4 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.334, allocations: 47.67 kB / 499.4 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.3341, allocations: 15.98 kB / 499.5 MB, free: 372 kB / 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.000125/0.3342, allocations: 145.7 kB / 499.6 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3342, allocations: 19.72 kB / 499.6 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.3343, allocations: 25.86 kB / 499.6 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3343, allocations: 3.953 kB / 499.6 MB, free: 168 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3343, allocations: 0 / 499.6 MB, free: 168 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3343, allocations: 4 kB / 499.6 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3355, allocations: 0.67 MB / 0.4886 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3355, allocations: 0 / 0.4886 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3357, allocations: 59.84 kB / 0.4886 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3358, allocations: 0 / 0.4886 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.3358, allocations: 19.97 kB / 0.4887 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3358, allocations: 0 / 0.4887 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3358, allocations: 0 / 0.4887 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3368, allocations: 0.5296 MB / 0.4892 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3369, allocations: 104.7 kB / 0.4893 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3369, allocations: 15.95 kB / 0.4893 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.3371, allocations: 31.97 kB / 0.4893 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.3372, allocations: 11.98 kB / 0.4893 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3372, allocations: 11.92 kB / 0.4894 GB, free: 14.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3374, allocations: 151.2 kB / 0.4895 GB, free: 14.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3374, allocations: 0 / 0.4895 GB, free: 14.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.3377, allocations: 79.94 kB / 0.4896 GB, free: 14.39 MB / 378.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.0004476/0.3382, allocations: 229.6 kB / 0.4898 GB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.3389, allocations: 350.6 kB / 0.4901 GB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3389, allocations: 3.938 kB / 0.4901 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.3392, allocations: 130.6 kB / 0.4903 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.3395, allocations: 25.98 kB / 0.4903 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.3403, allocations: 0.5109 MB / 0.4908 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3405, allocations: 0.7515 MB / 0.4915 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.3407, allocations: 33.94 kB / 0.4915 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.3407, allocations: 23.42 kB / 0.4916 GB, free: 12.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3408, allocations: 0 / 0.4916 GB, free: 12.32 MB / 378.7 MB Notification: Performance of Templates: time 0.005909/0.3467, allocations: 3.074 MB / 0.4946 GB, free: 9.266 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches