Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 88.28 kB / 16.32 MB, free: 6.449 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.001341/0.001341, allocations: 179.9 kB / 17.21 MB, free: 6.32 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.531/1.531, allocations: 223.3 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 11.92 kB / 300.8 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1451, allocations: 50.42 MB / 351.2 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003499/0.1487, allocations: 1.505 MB / 352.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.1523, allocations: 1.174 MB / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.1526, allocations: 4 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1529, allocations: 11.86 kB / 353.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1531, allocations: 23.8 kB / 354 MB, free: 1.266 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.001627/0.1547, allocations: 243.5 kB / 354.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.1552, allocations: 195.5 kB / 354.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.1555, allocations: 52.12 kB / 354.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1558, allocations: 75.69 kB / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.1562, allocations: 99.58 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.1563, allocations: 8 kB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008301/0.1572, allocations: 287.5 kB / 354.9 MB, free: 332 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1573, allocations: 35.84 kB / 354.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1574, allocations: 57.58 kB / 355 MB, free: 232 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007221/0.1581, allocations: 275.6 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1582, allocations: 0 / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1582, allocations: 0 / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1582, allocations: 4 kB / 355.3 MB, free: 15.95 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.001789/0.16, allocations: 0.5583 MB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.267e-05/0.1601, allocations: 12.03 kB / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.1605, allocations: 31.7 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1609, allocations: 232.4 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.161, allocations: 20.28 kB / 356.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.1611, allocations: 16 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.1617, allocations: 214.9 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1617, allocations: 0 / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.1617, allocations: 8 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1617, allocations: 11.89 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.1623, allocations: 172.4 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1635, allocations: 0.5864 MB / 357.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.1647, allocations: 370.8 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.165, allocations: 137 kB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1651, allocations: 0 / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.1655, allocations: 183.8 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.1656, allocations: 0 / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001138/0.1667, allocations: 420.8 kB / 358.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.1668, allocations: 63.36 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.167, allocations: 207.7 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.1671, allocations: 37.7 kB / 358.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1672, allocations: 128.6 kB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1674, allocations: 75 kB / 358.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1674, allocations: 11.94 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.1676, allocations: 334.8 kB / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.1681, allocations: 147.9 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.1685, allocations: 173.6 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.169, allocations: 158.9 kB / 359.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.169, allocations: 3.938 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009938/0.17, allocations: 410.5 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.1701, allocations: 8 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1701, allocations: 0 / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.1701, allocations: 3.938 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.1704, allocations: 79.89 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1705, allocations: 0 / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1707, allocations: 59.61 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.1707, allocations: 8 kB / 360.1 MB, free: 10.92 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.0002476/0.171, allocations: 145.6 kB / 360.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.1711, allocations: 23.72 kB / 360.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.1712, allocations: 25.84 kB / 360.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1712, allocations: 4 kB / 360.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.1712, allocations: 0 / 360.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1712, allocations: 0 / 360.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.1727, allocations: 0.6816 MB / 360.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.1727, allocations: 0 / 360.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.173, allocations: 59.89 kB / 361 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.173, allocations: 0 / 361 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.173, allocations: 8 kB / 361 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.173, allocations: 7.938 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1731, allocations: 4 kB / 361 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.1743, allocations: 0.5369 MB / 361.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.1744, allocations: 92.86 kB / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.1744, allocations: 16.05 kB / 361.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1746, allocations: 27.98 kB / 361.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.1747, allocations: 15.92 kB / 361.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1747, allocations: 4 kB / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1749, allocations: 151.2 kB / 361.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1749, allocations: 4 kB / 361.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005864/0.1755, allocations: 103.9 kB / 362 MB, free: 8.926 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.0008263/0.1763, allocations: 254.3 kB / 362.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007746/0.1771, allocations: 324.4 kB / 362.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1771, allocations: 0 / 362.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.1775, allocations: 135.9 kB / 362.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1779, allocations: 26.33 kB / 362.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1791, allocations: 0.5147 MB / 363.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.1796, allocations: 0.7398 MB / 363.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.1798, allocations: 33.94 kB / 364 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.1799, allocations: 27.42 kB / 364 MB, free: 6.859 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1799, allocations: 0 / 364 MB, free: 6.859 MB / 302.1 MB Notification: Performance of Templates: time 0.009122/0.189, allocations: 3.369 MB / 367.4 MB, free: 3.508 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches