Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002161/0.002161, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.916e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09689, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.4984, allocations: 75.2 MB / 444.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4987, allocations: 67.97 kB / 444.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008714/0.5074, allocations: 1.992 MB / 446.3 MB, free: 188 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5075, allocations: 0 / 446.3 MB, free: 188 kB / 314.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.5075, allocations: 0 / 446.3 MB, free: 188 kB / 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.0005042/0.508, allocations: 333.9 kB / 446.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5081, allocations: 11.97 kB / 446.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.5082, allocations: 8.531 kB / 446.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.5083, allocations: 159.1 kB / 446.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5084, allocations: 0 / 446.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.5084, allocations: 15.94 kB / 446.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5085, allocations: 37.31 kB / 446.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5086, allocations: 0 / 446.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5086, allocations: 0 / 446.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5086, allocations: 0 / 446.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.5086, allocations: 7.938 kB / 446.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.5091, allocations: 243.2 kB / 447.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.762e-05/0.5091, allocations: 25.77 kB / 447.2 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.5092, allocations: 16.3 kB / 447.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.5092, allocations: 0 / 447.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.5094, allocations: 62.44 kB / 447.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.5094, allocations: 3.938 kB / 447.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001957/0.5096, allocations: 48.5 kB / 447.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.5097, allocations: 55.41 kB / 447.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.5098, allocations: 96.31 kB / 447.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5098, allocations: 25.7 kB / 447.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.5099, allocations: 150.6 kB / 447.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.5099, allocations: 11.16 kB / 447.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.5099, allocations: 0 / 447.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5101, allocations: 314.8 kB / 447.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.5101, allocations: 7.5 kB / 447.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.5102, allocations: 25.09 kB / 448 MB, free: 14.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.739e-05/0.5102, allocations: 7.938 kB / 448 MB, free: 14.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5103, allocations: 3.953 kB / 448 MB, free: 14.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001326/0.5104, allocations: 55.91 kB / 448 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5104, allocations: 7.938 kB / 448 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5104, allocations: 7.984 kB / 448 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5105, allocations: 0 / 448 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.462e-05/0.5106, allocations: 7.938 kB / 448.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5106, allocations: 4 kB / 448.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.5106, allocations: 4.031 kB / 448.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.5107, allocations: 3.562 kB / 448.1 MB, free: 14.29 MB / 330.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.493e-05/0.5108, allocations: 108.9 kB / 448.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.5108, allocations: 3.953 kB / 448.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.5108, allocations: 8.016 kB / 448.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5109, allocations: 4 kB / 448.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5109, allocations: 0 / 448.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5109, allocations: 0 / 448.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.5112, allocations: 288.5 kB / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5112, allocations: 0 / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.5113, allocations: 4 kB / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5113, allocations: 1.016 kB / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5113, allocations: 0 / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5113, allocations: 0 / 448.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5113, allocations: 3.984 kB / 448.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.5115, allocations: 156.5 kB / 448.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.5116, allocations: 85.11 kB / 448.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.5116, allocations: 0 / 448.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.5117, allocations: 384 / 448.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.5117, allocations: 3.938 kB / 448.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5117, allocations: 8 kB / 448.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.982e-05/0.5118, allocations: 87.2 kB / 448.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5118, allocations: 0 / 448.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.5122, allocations: 35.88 kB / 448.8 MB, free: 13.44 MB / 330.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.000576/0.5128, allocations: 190.4 kB / 449 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.513, allocations: 23.42 kB / 449.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.513, allocations: 0 / 449.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.5131, allocations: 11.06 kB / 449.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.5132, allocations: 11.95 kB / 449.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.5135, allocations: 86.75 kB / 449.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.5138, allocations: 0.677 MB / 449.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.5139, allocations: 11.44 kB / 449.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5139, allocations: 0 / 449.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Templates: time 0.004642/0.5185, allocations: 1.337 MB / 451.2 MB, free: 11.05 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches