Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 120.4 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 207.8 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 227.7 MB / 247.9 MB, free: 10.22 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2282, allocations: 50.55 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002599/0.2308, allocations: 1.492 MB / 411.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2318, allocations: 0.5792 MB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.2319, allocations: 4 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.197e-05/0.232, allocations: 11.86 kB / 412.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.775e-05/0.232, allocations: 11.81 kB / 412.3 MB, free: 15.32 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0005324/0.2326, allocations: 151.5 kB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.2327, allocations: 111.7 kB / 412.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.2328, allocations: 9.109 kB / 412.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.2328, allocations: 43.84 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.2334, allocations: 66.42 kB / 412.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2334, allocations: 12 kB / 412.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2336, allocations: 115.8 kB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.2337, allocations: 35.84 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.2337, allocations: 55.66 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.234, allocations: 199.2 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.234, allocations: 0 / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.234, allocations: 0 / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2341, allocations: 0 / 413.1 MB, free: 14.54 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.0006616/0.2347, allocations: 462.5 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2347, allocations: 12.03 kB / 413.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.2351, allocations: 40.81 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.2352, allocations: 200.2 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2353, allocations: 4.375 kB / 413.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2353, allocations: 8.375 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2355, allocations: 118.5 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2355, allocations: 0 / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2355, allocations: 7.984 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2355, allocations: 4 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2357, allocations: 51.97 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.2364, allocations: 373.4 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.2367, allocations: 121.2 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2368, allocations: 49.75 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2368, allocations: 3.938 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.2371, allocations: 149.1 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2371, allocations: 0 / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005163/0.2376, allocations: 237.5 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.2376, allocations: 89.09 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.2378, allocations: 178.3 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.2379, allocations: 53.62 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.2379, allocations: 104.6 kB / 415.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.238, allocations: 39.69 kB / 415.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.2381, allocations: 53.94 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2382, allocations: 338.8 kB / 415.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2384, allocations: 88.47 kB / 415.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.2386, allocations: 131.5 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.2389, allocations: 210.9 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2389, allocations: 0 / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000484/0.2394, allocations: 297.5 kB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2394, allocations: 4 kB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.2395, allocations: 4 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2395, allocations: 7.984 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2396, allocations: 31.92 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2396, allocations: 480 / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.2397, allocations: 23.84 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2397, allocations: 4 kB / 416.5 MB, free: 10.83 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.0001417/0.2399, allocations: 161.7 kB / 416.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.2399, allocations: 15.91 kB / 416.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.2399, allocations: 17.39 kB / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2399, allocations: 0 / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2399, allocations: 0 / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.24, allocations: 0 / 416.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.2402, allocations: 209.5 kB / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2402, allocations: 3.938 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.2402, allocations: 7.984 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2402, allocations: 8 kB / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.2402, allocations: 0 / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2402, allocations: 0 / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2402, allocations: 4 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.2406, allocations: 225.7 kB / 417.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.2406, allocations: 96.94 kB / 417.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2407, allocations: 16 kB / 417.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.2407, allocations: 7.984 kB / 417.3 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2408, allocations: 11.98 kB / 417.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2408, allocations: 4 kB / 417.3 MB, free: 9.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.2409, allocations: 136.1 kB / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2409, allocations: 0 / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.2412, allocations: 47.94 kB / 417.5 MB, free: 9.77 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.0004316/0.2416, allocations: 200.7 kB / 417.7 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.242, allocations: 175.8 kB / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.242, allocations: 0 / 417.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2421, allocations: 51.97 kB / 417.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.2423, allocations: 8 kB / 417.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2427, allocations: 247.7 kB / 418.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2431, allocations: 0.7159 MB / 418.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.051e-05/0.2431, allocations: 16.88 kB / 418.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.2431, allocations: 15.44 kB / 418.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2431, allocations: 0 / 418.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of Templates: time 0.005222/0.2484, allocations: 1.984 MB / 420.9 MB, free: 6.336 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches