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.0007578/0.0007579, allocations: 93.12 kB / 16.65 MB, free: 6.586 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.000956/0.000956, allocations: 183.8 kB / 17.57 MB, free: 6.203 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.512/1.512, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002892, allocations: 7.938 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 50.41 MB / 351.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003055/0.1472, allocations: 1.559 MB / 353.4 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1498, allocations: 0.9628 MB / 354.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1499, allocations: 4 kB / 354.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1501, allocations: 11.86 kB / 354.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1503, allocations: 19.84 kB / 354.4 MB, free: 1.121 MB / 286.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.0006814/0.151, allocations: 163.6 kB / 354.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000306/0.1513, allocations: 207.4 kB / 354.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.1515, allocations: 67.75 kB / 354.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1517, allocations: 75.69 kB / 354.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.1523, allocations: 109.8 kB / 355 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.1524, allocations: 8 kB / 355 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.1527, allocations: 103.9 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.1527, allocations: 43.77 kB / 355.1 MB, free: 372 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.1529, allocations: 117.1 kB / 355.3 MB, free: 248 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.1533, allocations: 267.4 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1533, allocations: 0 / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1533, allocations: 4 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1533, allocations: 0 / 355.5 MB, free: 15.98 MB / 302.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.001295/0.1546, allocations: 0.5428 MB / 356.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1547, allocations: 12.03 kB / 356.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.155, allocations: 40.64 kB / 356.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1553, allocations: 233.6 kB / 356.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.1554, allocations: 24.2 kB / 356.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/0.1554, allocations: 16 kB / 356.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.1562, allocations: 218.9 kB / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1562, allocations: 0 / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.1563, allocations: 7.938 kB / 356.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.1563, allocations: 4 kB / 356.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.1569, allocations: 180.4 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.158, allocations: 0.5901 MB / 357.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.1592, allocations: 366.7 kB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.1596, allocations: 140.7 kB / 357.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1596, allocations: 4 kB / 357.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.16, allocations: 190.5 kB / 358.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.16, allocations: 0 / 358.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001056/0.1611, allocations: 417.1 kB / 358.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1611, allocations: 59.41 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1614, allocations: 211.7 kB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.1615, allocations: 41.69 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.1616, allocations: 124.5 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.1617, allocations: 79.06 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.1618, allocations: 37.7 kB / 359 MB, free: 12.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1619, allocations: 334.8 kB / 359.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.1624, allocations: 151.9 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.1628, allocations: 178.2 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/0.1636, allocations: 308.6 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1636, allocations: 4 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008203/0.1644, allocations: 407.1 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1644, allocations: 8 kB / 360.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1644, allocations: 0 / 360.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1645, allocations: 0 / 360.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.1648, allocations: 83.89 kB / 360.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1648, allocations: 0 / 360.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.165, allocations: 55.66 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.165, allocations: 15.94 kB / 360.5 MB, free: 10.74 MB / 302.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.0001692/0.1652, allocations: 149.6 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.1652, allocations: 19.72 kB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.1653, allocations: 21.88 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1653, allocations: 7.984 kB / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1653, allocations: 0 / 360.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1653, allocations: 4 kB / 360.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.1666, allocations: 0.6777 MB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1666, allocations: 0 / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.1669, allocations: 51.95 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1669, allocations: 4 kB / 361.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.1669, allocations: 11.98 kB / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1669, allocations: 0 / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.167, allocations: 3.938 kB / 361.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.168, allocations: 0.5393 MB / 362 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1681, allocations: 96.86 kB / 362.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.1681, allocations: 12.05 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.1683, allocations: 19.98 kB / 362.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1684, allocations: 23.97 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1684, allocations: 4 kB / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1686, allocations: 151.2 kB / 362.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1686, allocations: 0 / 362.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.169, allocations: 67.89 kB / 362.4 MB, free: 8.785 MB / 302.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.0004684/0.1694, allocations: 193.6 kB / 362.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.1703, allocations: 327.7 kB / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1703, allocations: 0 / 362.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.1707, allocations: 135.9 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.171, allocations: 27.44 kB / 363 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009183/0.172, allocations: 0.5343 MB / 363.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1723, allocations: 0.7398 MB / 364.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1724, allocations: 37.92 kB / 364.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1726, allocations: 23.42 kB / 364.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1726, allocations: 0 / 364.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of Templates: time 0.006446/0.179, allocations: 2.77 MB / 367.2 MB, free: 3.992 MB / 302.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