Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001455, allocations: 95.44 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.001892/0.001892, allocations: 205.6 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.525/1.525, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 8 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 51.5 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002221/0.148, allocations: 1.525 MB / 359.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1503, allocations: 1.221 MB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1505, allocations: 0 / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1506, allocations: 19.8 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1508, allocations: 19.97 kB / 360.9 MB, free: 11.1 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.001011/0.1518, allocations: 243.3 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.152, allocations: 119.8 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1522, allocations: 60.25 kB / 361.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1523, allocations: 71.69 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1526, allocations: 99.56 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.1526, allocations: 8 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.1531, allocations: 271.6 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.537e-05/0.1532, allocations: 47.81 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.1533, allocations: 53.58 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.1538, allocations: 267.7 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1538, allocations: 0 / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1538, allocations: 0 / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1538, allocations: 0 / 362.1 MB, free: 9.883 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.001255/0.1551, allocations: 0.557 MB / 362.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1551, allocations: 16.02 kB / 362.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.1554, allocations: 31.66 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1557, allocations: 240.3 kB / 362.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.1558, allocations: 12.28 kB / 362.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.1558, allocations: 27.89 kB / 362.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.1563, allocations: 214.7 kB / 363.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1563, allocations: 0 / 363.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1564, allocations: 8 kB / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1564, allocations: 0 / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.1569, allocations: 188.4 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1581, allocations: 0.5824 MB / 363.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1593, allocations: 362.9 kB / 364.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1593, allocations: 8 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.1598, allocations: 191.8 kB / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.1598, allocations: 0 / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00112/0.1609, allocations: 496.8 kB / 365 MB, free: 6.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.161, allocations: 63.41 kB / 365 MB, free: 6.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1613, allocations: 207.7 kB / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.1613, allocations: 41.69 kB / 365.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1615, allocations: 124.6 kB / 365.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.1616, allocations: 67 kB / 365.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.1616, allocations: 8 kB / 365.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1618, allocations: 334.8 kB / 365.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.1622, allocations: 151.8 kB / 365.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1626, allocations: 177.6 kB / 366.1 MB, free: 5.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.163, allocations: 158.5 kB / 366.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.163, allocations: 0 / 366.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009192/0.164, allocations: 414.8 kB / 366.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.164, allocations: 11.89 kB / 366.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.164, allocations: 0 / 366.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.164, allocations: 8 kB / 366.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.1644, allocations: 79.86 kB / 366.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.1644, allocations: 4 kB / 366.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.1646, allocations: 51.67 kB / 366.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.1647, allocations: 15.92 kB / 366.8 MB, free: 4.867 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.0002259/0.1649, allocations: 141.8 kB / 367 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.165, allocations: 19.72 kB / 367 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.1651, allocations: 25.81 kB / 367 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1651, allocations: 4 kB / 367 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.1651, allocations: 0 / 367 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.1651, allocations: 4 kB / 367 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.1666, allocations: 0.6661 MB / 367.7 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.1666, allocations: 7.953 kB / 367.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.1669, allocations: 55.89 kB / 367.8 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1669, allocations: 4 kB / 367.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1669, allocations: 4 kB / 367.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1669, allocations: 0 / 367.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1669, allocations: 0 / 367.8 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.168, allocations: 0.5338 MB / 368.3 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.1681, allocations: 100.9 kB / 368.4 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.1681, allocations: 19.92 kB / 368.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1683, allocations: 27.98 kB / 368.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.1684, allocations: 15.97 kB / 368.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1684, allocations: 11.94 kB / 368.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1685, allocations: 147.2 kB / 368.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 0 / 368.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000483/0.169, allocations: 99.98 kB / 368.7 MB, free: 2.887 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.0008133/0.1699, allocations: 250.9 kB / 369 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009284/0.1708, allocations: 320.3 kB / 369.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1708, allocations: 3.938 kB / 369.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.1712, allocations: 132 kB / 369.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1715, allocations: 37.97 kB / 369.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1726, allocations: 0.5187 MB / 370 MB, free: 1.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.173, allocations: 0.7398 MB / 370.7 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1731, allocations: 29.94 kB / 370.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.1732, allocations: 31.36 kB / 370.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1732, allocations: 0 / 370.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of Templates: time 0.2187/0.392, allocations: 3.386 MB / 374.2 MB, free: 18.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches