Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008403, allocations: 89.28 kB / 16.65 MB, free: 6.598 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.0009692/0.0009692, allocations: 179.5 kB / 17.56 MB, free: 6.199 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.455/1.455, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 11.94 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002088/0.1454, allocations: 1.229 MB / 353.1 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1468, allocations: 0.5854 MB / 353.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1469, allocations: 0 / 353.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.147, allocations: 3.938 kB / 353.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.965e-05/0.1471, allocations: 15.84 kB / 353.7 MB, free: 1.863 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.0005349/0.1476, allocations: 119.8 kB / 353.8 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1478, allocations: 111.7 kB / 353.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.388e-05/0.1478, allocations: 9.109 kB / 353.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.597e-05/0.1479, allocations: 39.84 kB / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.1486, allocations: 73 kB / 354 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1486, allocations: 4 kB / 354 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.1488, allocations: 103.8 kB / 354.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.1489, allocations: 31.84 kB / 354.1 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.149, allocations: 77.36 kB / 354.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1493, allocations: 195.6 kB / 354.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1493, allocations: 4 kB / 354.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1493, allocations: 0 / 354.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1493, allocations: 4 kB / 354.4 MB, free: 1.105 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007467/0.1501, allocations: 430.9 kB / 354.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1501, allocations: 8.031 kB / 354.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.1505, allocations: 40.81 kB / 354.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1506, allocations: 196 kB / 355.1 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1507, allocations: 12.36 kB / 355.1 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1507, allocations: 15.92 kB / 355.1 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.151, allocations: 115.3 kB / 355.2 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.151, allocations: 0 / 355.2 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.151, allocations: 0 / 355.2 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.151, allocations: 4 kB / 355.2 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.1512, allocations: 63.95 kB / 355.3 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.152, allocations: 381.5 kB / 355.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.1523, allocations: 141.1 kB / 355.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1524, allocations: 57.77 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1525, allocations: 3.984 kB / 355.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.1529, allocations: 145.2 kB / 356 MB, free: 15.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1529, allocations: 0 / 356 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005814/0.1535, allocations: 253.3 kB / 356.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.1536, allocations: 89.09 kB / 356.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1538, allocations: 182.1 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.1539, allocations: 45.7 kB / 356.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.154, allocations: 108.5 kB / 356.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.154, allocations: 47.39 kB / 356.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.1541, allocations: 37.69 kB / 356.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1543, allocations: 334.8 kB / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1545, allocations: 96.47 kB / 357.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.1547, allocations: 133.3 kB / 357.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.1551, allocations: 223.4 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1551, allocations: 3.938 kB / 357.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006007/0.1557, allocations: 301.3 kB / 357.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1557, allocations: 8 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1557, allocations: 0 / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1558, allocations: 0 / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1559, allocations: 32.02 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1559, allocations: 0 / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.156, allocations: 27.84 kB / 357.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.1561, allocations: 15.97 kB / 357.9 MB, free: 13.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.000166/0.1563, allocations: 149.8 kB / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.1564, allocations: 15.75 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.1564, allocations: 13.41 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1564, allocations: 4 kB / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1564, allocations: 0 / 358.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1564, allocations: 3.938 kB / 358.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1567, allocations: 209.5 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1567, allocations: 0 / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.1567, allocations: 8 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1567, allocations: 4 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1568, allocations: 0 / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1568, allocations: 3.984 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.1568, allocations: 4 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.1572, allocations: 233.5 kB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.1572, allocations: 96.91 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1573, allocations: 11.94 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.1573, allocations: 7.984 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.1574, allocations: 23.92 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1574, allocations: 0 / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.1575, allocations: 123.2 kB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1578, allocations: 47.98 kB / 358.8 MB, free: 12.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004181/0.1583, allocations: 203 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.1588, allocations: 199.8 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1588, allocations: 4.062 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.159, allocations: 63.97 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1592, allocations: 4 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1597, allocations: 290.9 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1601, allocations: 0.7084 MB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.1601, allocations: 20.88 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1602, allocations: 11.44 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1602, allocations: 0 / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Templates: time 0.005423/0.1656, allocations: 1.836 MB / 362.2 MB, free: 8.949 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches