Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 112.4 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4403, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.005967/0.4463, allocations: 1.852 MB / 402.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.4497, allocations: 0.9781 MB / 403.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.45, allocations: 0 / 403.6 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.4502, allocations: 27.67 kB / 403.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.4506, allocations: 31.73 kB / 403.6 MB, free: 5.965 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001132/0.4517, allocations: 175.5 kB / 403.8 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.4523, allocations: 227.4 kB / 404 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.4526, allocations: 68.25 kB / 404.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.4528, allocations: 95.62 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009965/0.4539, allocations: 122.1 kB / 404.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.454, allocations: 24 kB / 404.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.4544, allocations: 123.8 kB / 404.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4546, allocations: 59.81 kB / 404.5 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.4548, allocations: 99.45 kB / 404.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.4556, allocations: 288.5 kB / 404.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4556, allocations: 0 / 404.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4556, allocations: 0 / 404.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4556, allocations: 4 kB / 404.9 MB, free: 4.703 MB / 318.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.001923/0.4576, allocations: 0.5503 MB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.4576, allocations: 11.89 kB / 405.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.4581, allocations: 36.64 kB / 405.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.4586, allocations: 252.5 kB / 405.7 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.4587, allocations: 16.22 kB / 405.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/0.4588, allocations: 23.91 kB / 405.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.4596, allocations: 196.4 kB / 405.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4597, allocations: 0 / 405.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.4597, allocations: 8 kB / 406 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.4597, allocations: 4 kB / 406 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.4606, allocations: 156.2 kB / 406.1 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.4623, allocations: 0.5707 MB / 406.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.4642, allocations: 298.7 kB / 407 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.4648, allocations: 114.3 kB / 407.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.4648, allocations: 16 kB / 407.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.4655, allocations: 167.1 kB / 407.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.095e-06/0.4655, allocations: 0 / 407.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001761/0.4673, allocations: 355.2 kB / 407.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.4674, allocations: 63.39 kB / 407.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.4678, allocations: 207.7 kB / 407.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.4679, allocations: 45.7 kB / 407.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.468, allocations: 124.6 kB / 408 MB, free: 1.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.4682, allocations: 78.88 kB / 408.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4684, allocations: 65.69 kB / 408.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4686, allocations: 338.8 kB / 408.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006418/0.4692, allocations: 131.9 kB / 408.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.47, allocations: 162.2 kB / 408.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.4711, allocations: 268.6 kB / 409.1 MB, free: 292 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4711, allocations: 0 / 409.1 MB, free: 292 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001596/0.4728, allocations: 375.2 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.4728, allocations: 4 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.4728, allocations: 3.984 kB / 409.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.812e-05/0.4729, allocations: 4 kB / 409.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.4735, allocations: 63.89 kB / 409.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.4735, allocations: 7.984 kB / 409.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.4739, allocations: 43.61 kB / 409.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.474, allocations: 12 kB / 409.6 MB, free: 15.78 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.0002422/0.4742, allocations: 141.8 kB / 409.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.4743, allocations: 23.72 kB / 409.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.4744, allocations: 25.8 kB / 409.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4744, allocations: 0 / 409.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4745, allocations: 0 / 409.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4745, allocations: 3.938 kB / 409.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.4766, allocations: 0.6347 MB / 410.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4766, allocations: 0 / 410.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.4771, allocations: 43.97 kB / 410.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4771, allocations: 0 / 410.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.4772, allocations: 11.98 kB / 410.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4772, allocations: 0 / 410.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4772, allocations: 0 / 410.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.4791, allocations: 490.5 kB / 410.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4792, allocations: 104.8 kB / 411 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.4793, allocations: 8.125 kB / 411 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.4796, allocations: 27.97 kB / 411.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.4797, allocations: 7.984 kB / 411.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.4798, allocations: 8 kB / 411.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.48, allocations: 155.2 kB / 411.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4801, allocations: 0 / 411.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006715/0.4807, allocations: 60 kB / 411.3 MB, free: 13.95 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 (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.0007049/0.4815, allocations: 199.7 kB / 411.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.4829, allocations: 287.8 kB / 411.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4829, allocations: 4 kB / 411.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.4835, allocations: 111.9 kB / 411.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.4842, allocations: 34.64 kB / 411.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4858, allocations: 454.6 kB / 412.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.4863, allocations: 0.7437 MB / 413.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.4865, allocations: 33.88 kB / 413.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.4867, allocations: 23.42 kB / 413.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4867, allocations: 0 / 413.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Templates: time 0.01303/0.4997, allocations: 2.986 MB / 416.1 MB, free: 9.074 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches