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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 200.9 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007543/0.0007544, allocations: 93.97 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002733, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09504/0.3993, allocations: 77.8 MB / 487.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.3996, allocations: 76.58 kB / 487.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01135/0.4109, allocations: 4.185 MB / 491.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.411, allocations: 0 / 491.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.411, allocations: 3.938 kB / 491.4 MB, free: 9.441 MB / 362.7 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.0006197/0.4116, allocations: 451.5 kB / 491.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4117, allocations: 8.031 kB / 491.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.412, allocations: 44.72 kB / 491.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4121, allocations: 196.1 kB / 492.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4122, allocations: 8.359 kB / 492.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.4122, allocations: 12.36 kB / 492.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.4124, allocations: 123.8 kB / 492.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4125, allocations: 192 / 492.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4125, allocations: 11.92 kB / 492.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4125, allocations: 0 / 492.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.4127, allocations: 59.97 kB / 492.3 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.4133, allocations: 385.5 kB / 492.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.4136, allocations: 145 kB / 492.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4137, allocations: 61.77 kB / 492.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.4137, allocations: 3.984 kB / 492.9 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.414, allocations: 141 kB / 493.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/0.414, allocations: 0 / 493.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005923/0.4146, allocations: 257.5 kB / 493.3 MB, free: 7.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.4147, allocations: 89.09 kB / 493.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.4149, allocations: 179.2 kB / 493.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.415, allocations: 45.69 kB / 493.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.415, allocations: 112.5 kB / 493.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.4151, allocations: 39.55 kB / 493.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.4151, allocations: 0 / 493.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4153, allocations: 334.8 kB / 494.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.4155, allocations: 88.47 kB / 494.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4157, allocations: 124.4 kB / 494.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.416, allocations: 203.3 kB / 494.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.416, allocations: 4 kB / 494.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004955/0.4165, allocations: 281.3 kB / 494.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4166, allocations: 7.938 kB / 494.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.4166, allocations: 4 kB / 494.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4166, allocations: 0 / 494.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4168, allocations: 35.98 kB / 494.8 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4168, allocations: 3.938 kB / 494.8 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.4169, allocations: 23.81 kB / 494.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.4169, allocations: 11.98 kB / 494.9 MB, free: 5.742 MB / 362.7 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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.4171, allocations: 154 kB / 495 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.4171, allocations: 15.81 kB / 495 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.4171, allocations: 13.41 kB / 495 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.4171, allocations: 4 kB / 495 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4172, allocations: 0 / 495 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4172, allocations: 0 / 495 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.4174, allocations: 221.4 kB / 495.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4174, allocations: 0 / 495.3 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.4174, allocations: 11.98 kB / 495.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4175, allocations: 0 / 495.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4175, allocations: 8 kB / 495.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4175, allocations: 0 / 495.3 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4175, allocations: 4 kB / 495.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.4179, allocations: 233.6 kB / 495.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.4179, allocations: 88.92 kB / 495.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.418, allocations: 15.98 kB / 495.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.418, allocations: 8 kB / 495.6 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.4181, allocations: 7.984 kB / 495.6 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.4181, allocations: 7.984 kB / 495.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.588e-05/0.4182, allocations: 123.2 kB / 495.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4182, allocations: 0 / 495.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000311/0.4185, allocations: 67.86 kB / 495.8 MB, free: 4.684 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005594/0.4191, allocations: 227.2 kB / 496 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.4196, allocations: 259.1 kB / 496.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4196, allocations: 3.938 kB / 496.3 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4197, allocations: 64.09 kB / 496.4 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.4199, allocations: 12 kB / 496.4 MB, free: 4.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.4205, allocations: 267.8 kB / 496.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4209, allocations: 0.7121 MB / 497.3 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.4209, allocations: 16.81 kB / 497.4 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.421, allocations: 15.44 kB / 497.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.421, allocations: 0 / 497.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of Templates: time 0.00514/0.4261, allocations: 2.149 MB / 499.5 MB, free: 0.9414 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches