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.001029/0.001029, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000902/0.0009016, allocations: 103.6 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001955/0.0001955, allocations: 8 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1762, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07962/0.2559, allocations: 77.87 MB / 487.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.2561, allocations: 69.69 kB / 487.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.2668, allocations: 4.202 MB / 491.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2668, allocations: 0 / 491.6 MB, free: 8.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2668, allocations: 4 kB / 491.6 MB, free: 8.469 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.0005136/0.2673, allocations: 451.3 kB / 492 MB, free: 7.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2674, allocations: 8.031 kB / 492 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.2677, allocations: 43.78 kB / 492 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2678, allocations: 198.8 kB / 492.2 MB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2679, allocations: 8 kB / 492.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.2679, allocations: 7.953 kB / 492.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.2681, allocations: 118.3 kB / 492.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2681, allocations: 3.938 kB / 492.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2681, allocations: 0 / 492.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2682, allocations: 4 kB / 492.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.2683, allocations: 71.89 kB / 492.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.2689, allocations: 381.5 kB / 492.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.2692, allocations: 141.1 kB / 493 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2692, allocations: 0 / 493 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.2695, allocations: 141.5 kB / 493.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2695, allocations: 0 / 493.1 MB, free: 6.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005469/0.27, allocations: 419.5 kB / 493.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.2701, allocations: 89.11 kB / 493.6 MB, free: 6.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2702, allocations: 165.8 kB / 493.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.2703, allocations: 45.7 kB / 493.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.2703, allocations: 112.5 kB / 493.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2704, allocations: 35.56 kB / 493.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.2704, allocations: 4 kB / 494 MB, free: 5.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.2705, allocations: 330.8 kB / 494.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2707, allocations: 92.41 kB / 494.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.2709, allocations: 128 kB / 494.5 MB, free: 5.246 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.271, allocations: 104 kB / 494.6 MB, free: 5.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2711, allocations: 3.953 kB / 494.6 MB, free: 5.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004655/0.2715, allocations: 281.8 kB / 494.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2716, allocations: 14.44 kB / 494.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.2716, allocations: 4 kB / 494.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2716, allocations: 4 kB / 494.9 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2717, allocations: 31.91 kB / 494.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2717, allocations: 0 / 494.9 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.2718, allocations: 15.91 kB / 494.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.2719, allocations: 12 kB / 495 MB, free: 4.781 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.000113/0.272, allocations: 161.8 kB / 495.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.272, allocations: 15.77 kB / 495.1 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.272, allocations: 17.39 kB / 495.1 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2721, allocations: 0 / 495.1 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2721, allocations: 0 / 495.1 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2721, allocations: 7.938 kB / 495.2 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2722, allocations: 209.5 kB / 495.4 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2722, allocations: 4 kB / 495.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.2723, allocations: 11.95 kB / 495.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2723, allocations: 7.984 kB / 495.4 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2723, allocations: 0 / 495.4 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2723, allocations: 0 / 495.4 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2723, allocations: 4 kB / 495.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.2727, allocations: 243.3 kB / 495.6 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.2728, allocations: 92.92 kB / 495.7 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2728, allocations: 11.98 kB / 495.7 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/0.2729, allocations: 7.984 kB / 495.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.2729, allocations: 19.98 kB / 495.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2729, allocations: 4 kB / 495.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.273, allocations: 128.2 kB / 495.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.273, allocations: 0 / 495.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.2733, allocations: 59.94 kB / 495.9 MB, free: 3.691 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.0004392/0.2738, allocations: 241.4 kB / 496.2 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.2742, allocations: 247.2 kB / 496.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2742, allocations: 0 / 496.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2743, allocations: 67.91 kB / 496.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.2744, allocations: 7.953 kB / 496.5 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.2749, allocations: 271.1 kB / 496.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2751, allocations: 0.716 MB / 497.5 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.2751, allocations: 16.88 kB / 497.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.2752, allocations: 19.42 kB / 497.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of SimCode: time 2.645e-06/0.2752, allocations: 0 / 497.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of Templates: time 0.004462/0.2797, allocations: 2.169 MB / 499.7 MB, free: 15.92 MB / 378.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/jenkins/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