Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008452/0.0008453, allocations: 86.38 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.779e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4531, allocations: 75.62 MB / 438.7 MB, free: 4.051 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4534, allocations: 72.88 kB / 438.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.4644, allocations: 4.103 MB / 442.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4644, allocations: 0 / 442.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4644, allocations: 4 kB / 442.9 MB, free: 0.5 MB / 314.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.0005394/0.465, allocations: 426.1 kB / 443.3 MB, free: 52 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.465, allocations: 8.031 kB / 443.3 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.4653, allocations: 43.78 kB / 443.3 MB, free: 0 / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.4655, allocations: 196.5 kB / 443.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.4655, allocations: 4 kB / 443.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.4656, allocations: 7.953 kB / 443.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.992e-05/0.4657, allocations: 34.17 kB / 443.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.4658, allocations: 99.3 kB / 443.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4659, allocations: 0 / 443.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4659, allocations: 0 / 443.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4659, allocations: 4 kB / 443.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.4665, allocations: 370.6 kB / 444 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.4667, allocations: 105.8 kB / 444.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.107e-05/0.4668, allocations: 39.97 kB / 444.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.4668, allocations: 0 / 444.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.467, allocations: 133.9 kB / 444.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.467, allocations: 4 kB / 444.3 MB, free: 15 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002965/0.4673, allocations: 170.7 kB / 444.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.4673, allocations: 97.02 kB / 444.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4675, allocations: 161.4 kB / 444.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4675, allocations: 41.25 kB / 444.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.4676, allocations: 101.5 kB / 444.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.4677, allocations: 35.11 kB / 444.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.4677, allocations: 0 / 444.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4678, allocations: 333 kB / 445.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.4679, allocations: 72.06 kB / 445.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.468, allocations: 104.4 kB / 445.4 MB, free: 13.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.4683, allocations: 90.31 kB / 445.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4683, allocations: 0 / 445.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004233/0.4687, allocations: 249.8 kB / 445.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4688, allocations: 8.062 kB / 445.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4688, allocations: 4 kB / 445.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4688, allocations: 0 / 445.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.469, allocations: 35.84 kB / 445.8 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.469, allocations: 4 kB / 445.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.4691, allocations: 15.81 kB / 445.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.4691, allocations: 10.62 kB / 445.8 MB, free: 13.66 MB / 330.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 () * 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.0001179/0.4692, allocations: 134.8 kB / 445.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.4693, allocations: 15.77 kB / 446 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.4693, allocations: 16.52 kB / 446 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4693, allocations: 0 / 446 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4693, allocations: 0 / 446 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4693, allocations: 4 kB / 446 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.4695, allocations: 179.9 kB / 446.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4695, allocations: 4 kB / 446.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.4696, allocations: 15.98 kB / 446.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4696, allocations: 0 / 446.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4696, allocations: 3.953 kB / 446.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4696, allocations: 4 kB / 446.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4696, allocations: 0 / 446.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.4698, allocations: 207.5 kB / 446.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.4699, allocations: 96.55 kB / 446.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.47, allocations: 11.94 kB / 446.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.47, allocations: 11.94 kB / 446.5 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.4701, allocations: 15.72 kB / 446.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4701, allocations: 4 kB / 446.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.4702, allocations: 119.3 kB / 446.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4702, allocations: 0 / 446.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.4705, allocations: 63.86 kB / 446.7 MB, free: 12.76 MB / 330.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]) * 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.0004669/0.471, allocations: 236.2 kB / 446.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.4712, allocations: 212.6 kB / 447.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4713, allocations: 0 / 447.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.4713, allocations: 51.36 kB / 447.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.4715, allocations: 3.562 kB / 447.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.4718, allocations: 180 kB / 447.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.4721, allocations: 0.7119 MB / 448.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.4721, allocations: 16.88 kB / 448.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.4722, allocations: 19.42 kB / 448.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.834e-06/0.4722, allocations: 0 / 448.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of Templates: time 0.004595/0.4768, allocations: 2.143 MB / 450.3 MB, free: 9.227 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches