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.001471/0.001471, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 99.8 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009454/0.0009457, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2531, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002459/0.2556, allocations: 1.914 MB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.257, allocations: 1.025 MB / 410 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.2571, allocations: 4 kB / 410 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2572, allocations: 15.8 kB / 410 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2574, allocations: 19.84 kB / 410 MB, free: 24.83 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004202/0.2578, allocations: 150.3 kB / 410.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.258, allocations: 207.5 kB / 410.4 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2582, allocations: 71.25 kB / 410.5 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.2582, allocations: 91.61 kB / 410.5 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.2588, allocations: 114.9 kB / 410.7 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.2588, allocations: 12 kB / 410.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.259, allocations: 111.8 kB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.2591, allocations: 47.81 kB / 410.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.2591, allocations: 103.4 kB / 410.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.2594, allocations: 276.7 kB / 411.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2594, allocations: 0 / 411.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2594, allocations: 0 / 411.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2594, allocations: 0 / 411.2 MB, free: 23.68 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.0009546/0.2604, allocations: 0.5545 MB / 411.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2604, allocations: 8.031 kB / 411.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.2606, allocations: 40.58 kB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.2608, allocations: 245.2 kB / 412 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.2609, allocations: 16.66 kB / 412 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.2609, allocations: 28.12 kB / 412.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.2613, allocations: 199.5 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2614, allocations: 0 / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2614, allocations: 4 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2614, allocations: 4 kB / 412.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2618, allocations: 148.4 kB / 412.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.2626, allocations: 0.5668 MB / 413 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.2635, allocations: 318.5 kB / 413.3 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.2638, allocations: 109.3 kB / 413.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2638, allocations: 8 kB / 413.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.2642, allocations: 170.2 kB / 413.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.2642, allocations: 0 / 413.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008832/0.2651, allocations: 353.1 kB / 413.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2651, allocations: 55.41 kB / 414 MB, free: 20.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2653, allocations: 211.8 kB / 414.2 MB, free: 20.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.2653, allocations: 41.7 kB / 414.2 MB, free: 20.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.2654, allocations: 128.5 kB / 414.4 MB, free: 20.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.2654, allocations: 75.08 kB / 414.4 MB, free: 20.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.2655, allocations: 69.59 kB / 414.5 MB, free: 20.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.2656, allocations: 334.8 kB / 414.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.2659, allocations: 127.9 kB / 414.9 MB, free: 19.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.2662, allocations: 169.6 kB / 415.1 MB, free: 19.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.2667, allocations: 276.2 kB / 415.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2667, allocations: 0 / 415.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006787/0.2674, allocations: 370.5 kB / 415.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2674, allocations: 4 kB / 415.7 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2674, allocations: 4.031 kB / 415.8 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2675, allocations: 4 kB / 415.8 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.2677, allocations: 63.89 kB / 415.8 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2678, allocations: 0 / 415.8 MB, free: 18.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2679, allocations: 47.56 kB / 415.9 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.268, allocations: 12 kB / 415.9 MB, free: 18.75 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.0001185/0.2681, allocations: 151.2 kB / 416 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.2681, allocations: 19.81 kB / 416 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/0.2682, allocations: 29.8 kB / 416.1 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2682, allocations: 0 / 416.1 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2682, allocations: 0 / 416.1 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2682, allocations: 0 / 416.1 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.2692, allocations: 0.6347 MB / 416.7 MB, free: 17.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2692, allocations: 0 / 416.7 MB, free: 17.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.2694, allocations: 51.95 kB / 416.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2695, allocations: 0 / 416.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2695, allocations: 7.984 kB / 416.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2695, allocations: 0 / 416.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2695, allocations: 0 / 416.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.2729, allocations: 2.181 MB / 418.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.273, allocations: 96.77 kB / 419 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.273, allocations: 11.98 kB / 419.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.2732, allocations: 19.92 kB / 419.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2732, allocations: 19.97 kB / 419.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.2733, allocations: 4 kB / 419.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2734, allocations: 147.2 kB / 419.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2734, allocations: 4 kB / 419.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003947/0.2738, allocations: 88.05 kB / 419.3 MB, free: 15.05 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.0003709/0.2742, allocations: 194.8 kB / 419.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007209/0.2749, allocations: 283.5 kB / 419.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2749, allocations: 64 / 419.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.2752, allocations: 118.3 kB / 419.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2756, allocations: 35.7 kB / 419.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2767, allocations: 0.6811 MB / 420.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.2769, allocations: 0.744 MB / 421.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.2771, allocations: 33.94 kB / 421.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/0.2772, allocations: 31.42 kB / 421.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2772, allocations: 0 / 421.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of Templates: time 0.006202/0.2834, allocations: 3.439 MB / 424.9 MB, free: 9.48 MB / 298.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@2/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