Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 178 kB / 8.7 MB, free: 384 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.616/1.616, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0009863/0.0009862, allocations: 82.7 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.836e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09419, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.3996, allocations: 74.77 MB / 437.9 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3999, allocations: 69.91 kB / 437.9 MB, free: 4.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005339/0.4052, allocations: 1.976 MB / 439.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4053, allocations: 0 / 439.9 MB, free: 3.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.4053, allocations: 0 / 439.9 MB, free: 3.059 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003789/0.4057, allocations: 336.6 kB / 440.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4057, allocations: 8.031 kB / 440.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.4058, allocations: 13.22 kB / 440.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.406, allocations: 165.3 kB / 440.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.406, allocations: 2.312 kB / 440.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.406, allocations: 7.953 kB / 440.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.444e-05/0.4061, allocations: 3.984 kB / 440.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.534e-05/0.4062, allocations: 36.89 kB / 440.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4062, allocations: 0 / 440.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4062, allocations: 4 kB / 440.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4062, allocations: 3.938 kB / 440.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.4066, allocations: 216.5 kB / 440.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.4067, allocations: 29.66 kB / 440.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.4067, allocations: 11.17 kB / 440.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.4068, allocations: 0 / 440.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.4069, allocations: 58.53 kB / 440.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4069, allocations: 0 / 440.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002045/0.4071, allocations: 45.38 kB / 440.8 MB, free: 2.008 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.4072, allocations: 55.39 kB / 440.9 MB, free: 1.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.4073, allocations: 92.31 kB / 441 MB, free: 1.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.4073, allocations: 25.7 kB / 441 MB, free: 1.816 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.4074, allocations: 87.77 kB / 441.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.4074, allocations: 7.906 kB / 441.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.4074, allocations: 0 / 441.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4076, allocations: 314.8 kB / 441.4 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.4076, allocations: 7.625 kB / 441.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.4076, allocations: 21.66 kB / 441.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.982e-05/0.4077, allocations: 4 kB / 441.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4077, allocations: 0 / 441.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.4078, allocations: 65.17 kB / 441.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4079, allocations: 4 kB / 441.5 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4079, allocations: 11.36 kB / 441.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4079, allocations: 0 / 441.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.408, allocations: 8 kB / 441.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.408, allocations: 0 / 441.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.408, allocations: 0 / 441.5 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.408, allocations: 4 kB / 441.5 MB, free: 1.285 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.073e-05/0.4081, allocations: 114.2 kB / 441.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.4082, allocations: 7.953 kB / 441.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.4082, allocations: 12.36 kB / 441.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4082, allocations: 0 / 441.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4082, allocations: 0 / 441.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4082, allocations: 0 / 441.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.4085, allocations: 254.3 kB / 441.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4085, allocations: 4.141 kB / 441.9 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.4085, allocations: 3.953 kB / 441.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4085, allocations: 3.984 kB / 441.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4085, allocations: 0 / 441.9 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4085, allocations: 7.938 kB / 441.9 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4085, allocations: 4 kB / 441.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.4086, allocations: 146.3 kB / 442.1 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.4087, allocations: 81.09 kB / 442.1 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4087, allocations: 7.953 kB / 442.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.4087, allocations: 0 / 442.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.4088, allocations: 0 / 442.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.4088, allocations: 0 / 442.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.4088, allocations: 87.41 kB / 442.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4088, allocations: 0 / 442.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.4092, allocations: 39.92 kB / 442.3 MB, free: 472 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004092/0.4096, allocations: 185.1 kB / 442.4 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.4097, allocations: 19.75 kB / 442.5 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4097, allocations: 0 / 442.5 MB, free: 272 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.4097, allocations: 4 kB / 442.5 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.4098, allocations: 7.984 kB / 442.5 MB, free: 260 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.4101, allocations: 51.39 kB / 442.5 MB, free: 188 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.4104, allocations: 0.6885 MB / 443.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.4104, allocations: 4 kB / 443.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.4104, allocations: 7.438 kB / 443.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4104, allocations: 0 / 443.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of Templates: time 0.003091/0.4135, allocations: 1.105 MB / 444.3 MB, free: 14.36 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches