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.002028/0.002028, 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.003308/0.003308, 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.141/2.141, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 52.3 kB / 300.6 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1614, allocations: 49.44 MB / 350.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.004041/0.1655, allocations: 1.569 MB / 351.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1672, allocations: 0.5964 MB / 352.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.182e-05/0.1673, allocations: 0 / 352.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1675, allocations: 3.938 kB / 352.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.765e-05/0.1676, allocations: 19.86 kB / 352.2 MB, free: 2.453 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.0006894/0.1683, allocations: 119.8 kB / 352.4 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1685, allocations: 107.7 kB / 352.5 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.1686, allocations: 9.062 kB / 352.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.1687, allocations: 39.84 kB / 352.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/0.1696, allocations: 73.55 kB / 352.6 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.1696, allocations: 8 kB / 352.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.1699, allocations: 103.9 kB / 352.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.17, allocations: 31.8 kB / 352.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.584e-05/0.1701, allocations: 59.66 kB / 352.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1704, allocations: 132 kB / 352.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1705, allocations: 0 / 352.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1705, allocations: 0 / 352.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1705, allocations: 4 kB / 352.9 MB, free: 1.781 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.0009267/0.1714, allocations: 458.7 kB / 353.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1715, allocations: 8.031 kB / 353.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.172, allocations: 40.8 kB / 353.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1722, allocations: 196.1 kB / 353.6 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.1723, allocations: 4.375 kB / 353.6 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.1723, allocations: 19.86 kB / 353.6 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.1726, allocations: 107.4 kB / 353.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1727, allocations: 0 / 353.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1727, allocations: 0 / 353.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1727, allocations: 4 kB / 353.7 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.173, allocations: 59.95 kB / 353.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009369/0.1739, allocations: 377.4 kB / 354.2 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.1744, allocations: 125.2 kB / 354.3 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1746, allocations: 61.69 kB / 354.3 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1746, allocations: 3.984 kB / 354.3 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.175, allocations: 141 kB / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.175, allocations: 0 / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007883/0.1758, allocations: 237.5 kB / 354.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.1759, allocations: 89.09 kB / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1761, allocations: 179 kB / 355 MB, free: 15.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.1762, allocations: 49.7 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/0.1763, allocations: 104.6 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.1764, allocations: 51.38 kB / 355.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1765, allocations: 53.92 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1768, allocations: 330.8 kB / 355.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.177, allocations: 100.4 kB / 355.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.1774, allocations: 132.4 kB / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.1779, allocations: 211.4 kB / 356 MB, free: 14.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1779, allocations: 0 / 356 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007411/0.1787, allocations: 285.3 kB / 356.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1787, allocations: 12.06 kB / 356.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1787, allocations: 0 / 356.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1788, allocations: 0 / 356.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.179, allocations: 31.92 kB / 356.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.179, allocations: 4 kB / 356.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.1791, allocations: 23.77 kB / 356.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.1792, allocations: 8 kB / 356.3 MB, free: 14.07 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.0002036/0.1794, allocations: 153.8 kB / 356.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.1795, allocations: 15.81 kB / 356.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.1795, allocations: 13.34 kB / 356.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1795, allocations: 4 kB / 356.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.1795, allocations: 3.984 kB / 356.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1795, allocations: 3.938 kB / 356.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1798, allocations: 205.5 kB / 356.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1798, allocations: 4 kB / 356.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.1799, allocations: 7.984 kB / 356.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1799, allocations: 0 / 356.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.18, allocations: 8 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.18, allocations: 3.938 kB / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.18, allocations: 0 / 356.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.1805, allocations: 217.7 kB / 357 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.1806, allocations: 92.92 kB / 357.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.1807, allocations: 11.98 kB / 357.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.1808, allocations: 8 kB / 357.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.1809, allocations: 19.92 kB / 357.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1809, allocations: 4 kB / 357.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.181, allocations: 127.5 kB / 357.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1811, allocations: 0 / 357.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.1816, allocations: 48 kB / 357.3 MB, free: 13.03 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.0006408/0.1822, allocations: 201.8 kB / 357.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.1829, allocations: 183.8 kB / 357.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1829, allocations: 4.125 kB / 357.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.1831, allocations: 59.97 kB / 357.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1834, allocations: 15.92 kB / 357.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.1842, allocations: 319.2 kB / 358 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1846, allocations: 0.7043 MB / 358.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.1847, allocations: 23.42 kB / 358.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1847, allocations: 0 / 358.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Templates: time 0.006571/0.1913, allocations: 2.295 MB / 361.1 MB, free: 9.199 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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