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.001288/0.001288, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001306, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2521, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003189/0.2553, allocations: 1.871 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.2572, allocations: 1.009 MB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2573, allocations: 0 / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2575, allocations: 23.67 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.2577, allocations: 35.66 kB / 412.9 MB, free: 14.63 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.0006498/0.2584, allocations: 183.5 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.2587, allocations: 223.4 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.2589, allocations: 64.27 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2591, allocations: 103.6 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.2597, allocations: 118.7 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.2597, allocations: 24 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.26, allocations: 119.8 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.2601, allocations: 59.83 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.2602, allocations: 103.4 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2606, allocations: 286.8 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2607, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2607, allocations: 0 / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.2607, allocations: 4 kB / 414.1 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.001201/0.2619, allocations: 0.5675 MB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2619, allocations: 8.031 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2622, allocations: 36.64 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.2625, allocations: 232.9 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.2625, allocations: 20.64 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.2626, allocations: 28.06 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.2631, allocations: 191 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2631, allocations: 0 / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.2631, allocations: 4 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2631, allocations: 7.984 kB / 415.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.2636, allocations: 152.4 kB / 415.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2647, allocations: 0.5865 MB / 416 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.2658, allocations: 306.6 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.2661, allocations: 116.8 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2661, allocations: 4 kB / 416.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.2666, allocations: 159.3 kB / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.2666, allocations: 0 / 416.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001055/0.2676, allocations: 360.5 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2677, allocations: 63.34 kB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2679, allocations: 226.7 kB / 417.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.268, allocations: 37.7 kB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2681, allocations: 136.5 kB / 417.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.2682, allocations: 67.08 kB / 417.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2683, allocations: 73.69 kB / 417.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2684, allocations: 330.8 kB / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2688, allocations: 131.9 kB / 417.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.2692, allocations: 165.7 kB / 418.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.2698, allocations: 271.2 kB / 418.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2699, allocations: 0 / 418.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000847/0.2707, allocations: 383.7 kB / 418.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2707, allocations: 7.125 kB / 418.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.2707, allocations: 0 / 418.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2708, allocations: 4 kB / 418.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2711, allocations: 67.89 kB / 418.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2711, allocations: 7.984 kB / 418.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.2713, allocations: 39.61 kB / 418.9 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.2713, allocations: 15.98 kB / 418.9 MB, free: 8.406 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.0001656/0.2715, allocations: 149.6 kB / 419 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.2715, allocations: 19.72 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.2716, allocations: 25.86 kB / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2716, allocations: 0 / 419.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2716, allocations: 4 kB / 419.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2716, allocations: 0 / 419.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2727, allocations: 0.6152 MB / 419.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2728, allocations: 0 / 419.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.273, allocations: 39.95 kB / 419.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.273, allocations: 7.938 kB / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.273, allocations: 8 kB / 419.7 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.273, allocations: 0 / 419.7 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2731, allocations: 0 / 419.7 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2741, allocations: 486.8 kB / 420.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.2742, allocations: 100.8 kB / 420.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.2742, allocations: 16 kB / 420.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2744, allocations: 19.97 kB / 420.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.2745, allocations: 16.11 kB / 420.4 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2745, allocations: 8 kB / 420.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.2747, allocations: 160.7 kB / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2747, allocations: 0 / 420.5 MB, free: 6.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.275, allocations: 63.94 kB / 420.6 MB, free: 6.586 MB / 334.1 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 (17): * Single equations (assignments): 15 * 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.0004536/0.2755, allocations: 187.7 kB / 420.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000775/0.2763, allocations: 294.7 kB / 421.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2763, allocations: 0 / 421.1 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.2766, allocations: 111.8 kB / 421.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.277, allocations: 31.83 kB / 421.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.278, allocations: 488.3 kB / 421.7 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2783, allocations: 0.7398 MB / 422.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.2784, allocations: 23.42 kB / 422.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2784, allocations: 0 / 422.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of Templates: time 0.006185/0.2846, allocations: 3.401 MB / 425.8 MB, free: 1.301 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:mean.mu,meanError_y,sigmaError_y,standardDeviation.variance.mu,standardDeviation.variance.var,time,variance.mu,variance.var