Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 116.5 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 202 kB / 18.73 MB, free: 4.34 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.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 50.55 MB / 409.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00302/0.3486, allocations: 1.481 MB / 410.7 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.35, allocations: 0.5754 MB / 411.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.3501, allocations: 0 / 411.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3502, allocations: 11.86 kB / 411.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.3503, allocations: 23.8 kB / 411.3 MB, free: 15.53 MB / 334.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.0006574/0.351, allocations: 135.6 kB / 411.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.3512, allocations: 111.7 kB / 411.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.788e-05/0.3512, allocations: 13.11 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.3513, allocations: 55.77 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.3519, allocations: 74.22 kB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.3519, allocations: 8 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.3521, allocations: 103.9 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.3522, allocations: 43.77 kB / 411.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.3523, allocations: 55.67 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.3527, allocations: 195.1 kB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3527, allocations: 0 / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3527, allocations: 4 kB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3527, allocations: 0 / 412.1 MB, free: 14.75 MB / 334.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.0007307/0.3535, allocations: 460.2 kB / 412.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3535, allocations: 12.03 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.3539, allocations: 36.72 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3541, allocations: 196.1 kB / 412.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.3541, allocations: 8.375 kB / 412.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3541, allocations: 4.375 kB / 412.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3544, allocations: 122.4 kB / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3544, allocations: 0 / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3544, allocations: 0 / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3544, allocations: 4 kB / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.3546, allocations: 59.89 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.3553, allocations: 373.4 kB / 413.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.3556, allocations: 141 kB / 413.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3558, allocations: 53.75 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3558, allocations: 0 / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.3561, allocations: 145 kB / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.3561, allocations: 0 / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005783/0.3567, allocations: 237.5 kB / 413.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.3568, allocations: 89.05 kB / 414 MB, free: 12.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3569, allocations: 174.3 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.357, allocations: 49.69 kB / 414.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.3571, allocations: 104.6 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.3571, allocations: 43.53 kB / 414.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.3572, allocations: 61.88 kB / 414.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3574, allocations: 334.8 kB / 414.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.3576, allocations: 92.47 kB / 414.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.3578, allocations: 128.4 kB / 415 MB, free: 11.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.3582, allocations: 218.9 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3582, allocations: 0 / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004773/0.3586, allocations: 289.2 kB / 415.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3587, allocations: 4 kB / 415.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3587, allocations: 0 / 415.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3587, allocations: 4 kB / 415.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3589, allocations: 35.97 kB / 415.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3589, allocations: 4 kB / 415.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.359, allocations: 19.84 kB / 415.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.359, allocations: 4 kB / 415.6 MB, free: 11.04 MB / 334.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.0001495/0.3592, allocations: 153.7 kB / 415.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3592, allocations: 11.81 kB / 415.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.3593, allocations: 21.33 kB / 415.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3593, allocations: 4 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3593, allocations: 0 / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3593, allocations: 4 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3595, allocations: 209.5 kB / 415.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3596, allocations: 0 / 415.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.3596, allocations: 15.98 kB / 416 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3596, allocations: 0 / 416 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3596, allocations: 3.938 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3596, allocations: 4 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3597, allocations: 0 / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.36, allocations: 217.8 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.3601, allocations: 104.8 kB / 416.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.3601, allocations: 11.92 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.3602, allocations: 4 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.3603, allocations: 15.92 kB / 416.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.3603, allocations: 11.98 kB / 416.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3604, allocations: 136.2 kB / 416.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3604, allocations: 0 / 416.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.3607, allocations: 48 kB / 416.5 MB, free: 9.973 MB / 334.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.000522/0.3613, allocations: 197.6 kB / 416.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.3617, allocations: 192 kB / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3617, allocations: 0 / 416.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3619, allocations: 63.91 kB / 417 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.3621, allocations: 4.125 kB / 417 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.3626, allocations: 252 kB / 417.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.3632, allocations: 0.708 MB / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.3633, allocations: 20.86 kB / 417.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3634, allocations: 15.44 kB / 417.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.3635, allocations: 0 / 417.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of Templates: time 0.00557/0.369, allocations: 1.981 MB / 419.9 MB, free: 6.52 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches