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.001004/0.001004, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 8 kB / 306.6 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 51.48 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002109/0.1429, allocations: 1.532 MB / 359.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1445, allocations: 0.9555 MB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.1446, allocations: 0 / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.1447, allocations: 7.875 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1449, allocations: 27.89 kB / 360.6 MB, free: 11.6 MB / 302.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.0004584/0.1454, allocations: 147.6 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1456, allocations: 115.8 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1458, allocations: 64.19 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.602e-05/0.1459, allocations: 75.73 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.146, allocations: 103.5 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1461, allocations: 8 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.1463, allocations: 83.8 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.1463, allocations: 35.91 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.1464, allocations: 61.58 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1466, allocations: 195.8 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1466, allocations: 0 / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1466, allocations: 0 / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1467, allocations: 0 / 361.5 MB, free: 10.72 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.0009988/0.1477, allocations: 0.5466 MB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1477, allocations: 8.031 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.1479, allocations: 35.7 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1482, allocations: 236.4 kB / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.1482, allocations: 16.23 kB / 362.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.1483, allocations: 20 kB / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.1488, allocations: 218.6 kB / 362.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1488, allocations: 3.938 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1488, allocations: 8 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1488, allocations: 0 / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.1493, allocations: 184.4 kB / 362.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009653/0.1502, allocations: 0.5825 MB / 363.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.1513, allocations: 386.8 kB / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1513, allocations: 0 / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.1517, allocations: 191.2 kB / 363.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.1518, allocations: 0 / 363.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001026/0.1528, allocations: 492.8 kB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1528, allocations: 63.41 kB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.153, allocations: 211.7 kB / 364.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.1531, allocations: 41.69 kB / 364.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.1532, allocations: 124.7 kB / 364.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.1532, allocations: 78.94 kB / 364.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.1533, allocations: 4 kB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1534, allocations: 334.8 kB / 365.2 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1537, allocations: 147.9 kB / 365.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.1541, allocations: 177.6 kB / 365.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.1544, allocations: 154.5 kB / 365.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1545, allocations: 0 / 365.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007767/0.1552, allocations: 410.8 kB / 366.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1553, allocations: 11.95 kB / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1553, allocations: 0 / 366.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1553, allocations: 7.938 kB / 366.1 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.1556, allocations: 79.89 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1556, allocations: 0 / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.1558, allocations: 55.66 kB / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1559, allocations: 12 kB / 366.2 MB, free: 5.719 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.156, allocations: 137.8 kB / 366.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.156, allocations: 19.72 kB / 366.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.1561, allocations: 29.81 kB / 366.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1561, allocations: 8 kB / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1561, allocations: 0 / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1561, allocations: 0 / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1573, allocations: 0.6738 MB / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1573, allocations: 0 / 367.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.1576, allocations: 63.89 kB / 367.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1576, allocations: 0 / 367.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1576, allocations: 11.98 kB / 367.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1576, allocations: 0 / 367.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1576, allocations: 0 / 367.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009899/0.1586, allocations: 0.5337 MB / 367.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.1587, allocations: 100.8 kB / 367.8 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.1587, allocations: 8.062 kB / 367.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1589, allocations: 31.98 kB / 367.8 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.159, allocations: 15.97 kB / 367.8 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.159, allocations: 4 kB / 367.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1591, allocations: 151.2 kB / 368 MB, free: 3.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1591, allocations: 0 / 368 MB, free: 3.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000371/0.1595, allocations: 64 kB / 368.1 MB, free: 3.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005152/0.16, allocations: 194.1 kB / 368.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007706/0.1608, allocations: 320.3 kB / 368.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1608, allocations: 0 / 368.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.1612, allocations: 146 kB / 368.7 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1614, allocations: 20.45 kB / 368.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.1624, allocations: 0.5148 MB / 369.2 MB, free: 2.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1627, allocations: 0.7476 MB / 370 MB, free: 1.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1628, allocations: 29.94 kB / 370 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.1629, allocations: 27.44 kB / 370 MB, free: 1.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1629, allocations: 0 / 370 MB, free: 1.754 MB / 302.1 MB Notification: Performance of Templates: time 0.19/0.3529, allocations: 2.701 MB / 372.7 MB, free: 19.16 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/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