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.001915/0.001915, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.001955/0.001955, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.214/2.214, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 50.95 kB / 300.6 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1371, allocations: 49.45 MB / 350.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003925/0.1411, allocations: 1.906 MB / 352 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1438, allocations: 1.282 MB / 353.3 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.144, allocations: 4 kB / 353.3 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.1442, allocations: 11.86 kB / 353.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1444, allocations: 19.84 kB / 353.3 MB, free: 1.402 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.001112/0.1455, allocations: 247.5 kB / 353.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.1459, allocations: 211.5 kB / 353.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1462, allocations: 56.28 kB / 353.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1464, allocations: 91.61 kB / 353.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.147, allocations: 122.6 kB / 354 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.1471, allocations: 16 kB / 354 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1478, allocations: 295.5 kB / 354.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.1479, allocations: 47.77 kB / 354.4 MB, free: 348 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.148, allocations: 95.44 kB / 354.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.1485, allocations: 263.7 kB / 354.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1486, allocations: 0 / 354.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1486, allocations: 0 / 354.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1486, allocations: 0 / 354.7 MB, free: 15.99 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.00146/0.1501, allocations: 0.5701 MB / 355.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1501, allocations: 8.031 kB / 355.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.1504, allocations: 36.64 kB / 355.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1507, allocations: 241.6 kB / 355.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.1508, allocations: 20.22 kB / 355.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.1509, allocations: 24 kB / 355.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.1514, allocations: 194.9 kB / 355.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1514, allocations: 0 / 355.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1515, allocations: 8 kB / 355.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1515, allocations: 3.938 kB / 355.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.152, allocations: 152.4 kB / 355.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1532, allocations: 0.5823 MB / 356.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.1544, allocations: 312.9 kB / 356.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.1547, allocations: 112.8 kB / 356.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1548, allocations: 8 kB / 357 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.1552, allocations: 159.3 kB / 357.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.1552, allocations: 4 kB / 357.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001093/0.1563, allocations: 363.9 kB / 357.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1564, allocations: 55.41 kB / 357.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1567, allocations: 215.7 kB / 357.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.1567, allocations: 37.7 kB / 357.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.1568, allocations: 128.6 kB / 357.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.1569, allocations: 78.97 kB / 358 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.157, allocations: 61.69 kB / 358 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1572, allocations: 342.8 kB / 358.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.1577, allocations: 131.9 kB / 358.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.1581, allocations: 154.5 kB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.1588, allocations: 280.3 kB / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1588, allocations: 0 / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009067/0.1597, allocations: 370.7 kB / 359.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.1597, allocations: 8 kB / 359.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1598, allocations: 0 / 359.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1598, allocations: 0 / 359.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.1601, allocations: 71.88 kB / 359.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1601, allocations: 8.031 kB / 359.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1603, allocations: 35.73 kB / 359.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.1604, allocations: 19.92 kB / 359.4 MB, free: 11.04 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.0001657/0.1605, allocations: 137.6 kB / 359.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1606, allocations: 19.8 kB / 359.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.274e-05/0.1607, allocations: 25.88 kB / 359.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1607, allocations: 4 kB / 359.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1607, allocations: 0 / 359.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1607, allocations: 3.984 kB / 359.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1621, allocations: 0.6308 MB / 360.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1621, allocations: 4 kB / 360.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.1624, allocations: 43.89 kB / 360.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1624, allocations: 4 kB / 360.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1625, allocations: 4 kB / 360.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.1625, allocations: 7.922 kB / 360.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1625, allocations: 3.938 kB / 360.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1636, allocations: 496.8 kB / 360.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.1637, allocations: 96.84 kB / 360.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.1637, allocations: 8.062 kB / 360.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.1639, allocations: 19.97 kB / 360.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.164, allocations: 15.98 kB / 360.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.164, allocations: 4 kB / 360.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1642, allocations: 147.2 kB / 361.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1642, allocations: 4 kB / 361.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004767/0.1647, allocations: 103.9 kB / 361.2 MB, free: 9.176 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.0007156/0.1654, allocations: 257.2 kB / 361.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008165/0.1662, allocations: 291.6 kB / 361.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1662, allocations: 4.062 kB / 361.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.1666, allocations: 111.9 kB / 361.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.167, allocations: 23.98 kB / 361.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.168, allocations: 0.5376 MB / 362.4 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.1686, allocations: 0.7398 MB / 363.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1687, allocations: 31.42 kB / 363.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1687, allocations: 0 / 363.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Templates: time 0.008427/0.1771, allocations: 4.038 MB / 367.2 MB, free: 3.117 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/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