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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 110 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 207.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.242, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002971/0.245, allocations: 1.867 MB / 411.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2468, allocations: 1.021 MB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2469, allocations: 0 / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2471, allocations: 19.73 kB / 412.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.2473, allocations: 31.67 kB / 412.9 MB, free: 14.64 MB / 334.1 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.0007003/0.248, allocations: 183.5 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.2483, allocations: 219.5 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2485, allocations: 72.23 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.2486, allocations: 99.62 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006009/0.2492, allocations: 122 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.2493, allocations: 24 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.2496, allocations: 119.8 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.2497, allocations: 55.83 kB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2498, allocations: 107.4 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.2502, allocations: 290.8 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2502, allocations: 4 kB / 414.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2502, allocations: 0 / 414.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.2502, allocations: 0 / 414.2 MB, free: 13.37 MB / 334.1 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.001192/0.2514, allocations: 0.5597 MB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2515, allocations: 8.031 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.2517, allocations: 36.64 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.252, allocations: 240.8 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2521, allocations: 12.66 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.2521, allocations: 32.11 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/0.2526, allocations: 198.9 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2526, allocations: 0 / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.2527, allocations: 4 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2527, allocations: 4 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.2532, allocations: 152.4 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2542, allocations: 0.5788 MB / 416 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.2553, allocations: 306.6 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.2557, allocations: 116.7 kB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2557, allocations: 4 kB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.2562, allocations: 169.8 kB / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 3.256e-06/0.2562, allocations: 0 / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001084/0.2573, allocations: 361.1 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2573, allocations: 63.39 kB / 417 MB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.2576, allocations: 222.7 kB / 417.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.2576, allocations: 41.7 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.2577, allocations: 128.5 kB / 417.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.2578, allocations: 63.11 kB / 417.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2579, allocations: 77.67 kB / 417.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.258, allocations: 330.8 kB / 417.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.2584, allocations: 131.9 kB / 417.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2588, allocations: 165.7 kB / 418.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.2595, allocations: 275.1 kB / 418.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2595, allocations: 0 / 418.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008795/0.2604, allocations: 387.6 kB / 418.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2604, allocations: 4 kB / 418.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2604, allocations: 0 / 418.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2605, allocations: 4 kB / 418.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2608, allocations: 67.92 kB / 418.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2608, allocations: 4 kB / 418.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.261, allocations: 47.59 kB / 418.9 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.2611, allocations: 8 kB / 418.9 MB, free: 8.41 MB / 334.1 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.0001733/0.2613, allocations: 153.6 kB / 419 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.2613, allocations: 19.72 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/0.2614, allocations: 25.86 kB / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2614, allocations: 0 / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2614, allocations: 0 / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.2615, allocations: 88.92 kB / 419.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.2615, allocations: 15.98 kB / 419.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2617, allocations: 19.97 kB / 419.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.2618, allocations: 15.92 kB / 419.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001348/0.2631, allocations: 432.6 kB / 419.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001121/0.2643, allocations: 0.5694 MB / 420.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003128/0.2646, allocations: 104 kB / 420.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.2647, allocations: 160.7 kB / 420.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.2648, allocations: 0 / 420.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.2659, allocations: 367.8 kB / 420.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008766/0.2668, allocations: 0.8324 MB / 421.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of Templates: time 0.007618/0.2744, allocations: 3.504 MB / 425.2 MB, free: 2.066 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,mean.actualStartTime,mean.mu,mean.startTime,mean.t_0,mean.t_eps,meanError.u2,meanError_y,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.samplePeriod,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_max,noise.y_min,noise.y_off,pMean,sigmaError.u2,sigmaError_y,standardDeviation.t_eps,standardDeviation.variance.mu,standardDeviation.variance.t_0,standardDeviation.variance.t_eps,standardDeviation.variance.var,std,theoreticalMean.k,theoreticalMean.y,theoreticalSigma.k,theoreticalSigma.y,theoreticalVariance.significantDigits,theoreticalVariance.u[1],theoreticalVariance.u[2],time,var,variance.mu,variance.t_0,variance.t_eps,variance.var,y_max,y_min