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.002356/0.002361, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 92.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.376e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3353, allocations: 47.55 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4543, allocations: 74.54 MB / 436.9 MB, free: 11.79 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4546, allocations: 71.95 kB / 436.9 MB, free: 11.72 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008682/0.4633, allocations: 1.986 MB / 438.9 MB, free: 9.742 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4634, allocations: 1.031 kB / 438.9 MB, free: 9.742 MB / 331.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.4634, allocations: 0 / 438.9 MB, free: 9.742 MB / 331.1 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.0004298/0.4639, allocations: 333.1 kB / 439.3 MB, free: 9.375 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4639, allocations: 8.781 kB / 439.3 MB, free: 9.367 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.464, allocations: 13.31 kB / 439.3 MB, free: 9.355 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.4641, allocations: 163.1 kB / 439.4 MB, free: 9.156 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4641, allocations: 0.5 kB / 439.4 MB, free: 9.156 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4642, allocations: 9.203 kB / 439.4 MB, free: 9.148 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.016e-05/0.4642, allocations: 0 / 439.4 MB, free: 9.148 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.293e-05/0.4643, allocations: 37.64 kB / 439.5 MB, free: 9.105 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4643, allocations: 2.312 kB / 439.5 MB, free: 9.105 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4644, allocations: 5.859 kB / 439.5 MB, free: 9.102 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4644, allocations: 0 / 439.5 MB, free: 9.102 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.4647, allocations: 213.5 kB / 439.7 MB, free: 8.855 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.4648, allocations: 36.58 kB / 439.7 MB, free: 8.812 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.4649, allocations: 8.922 kB / 439.7 MB, free: 8.801 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.4649, allocations: 0 / 439.7 MB, free: 8.801 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.465, allocations: 58.16 kB / 439.8 MB, free: 8.734 MB / 331.1 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.4651, allocations: 0 / 439.8 MB, free: 8.734 MB / 331.1 MB Notification: Performance of matching and sorting (n=3): time 0.000192/0.4653, allocations: 49.67 kB / 439.8 MB, free: 8.68 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4653, allocations: 51.41 kB / 439.9 MB, free: 8.617 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.4654, allocations: 99.09 kB / 440 MB, free: 8.516 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4654, allocations: 25.7 kB / 440 MB, free: 8.484 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.4655, allocations: 150.6 kB / 440.2 MB, free: 8.336 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4656, allocations: 7.891 kB / 440.2 MB, free: 8.328 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4656, allocations: 0 / 440.2 MB, free: 8.328 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4657, allocations: 316.9 kB / 440.5 MB, free: 8.012 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/0.4658, allocations: 4 kB / 440.5 MB, free: 8.008 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.4658, allocations: 21.72 kB / 440.5 MB, free: 7.98 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.796e-05/0.4659, allocations: 12.86 kB / 440.5 MB, free: 7.969 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4659, allocations: 0 / 440.5 MB, free: 7.969 MB / 331.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001447/0.4661, allocations: 61.52 kB / 440.6 MB, free: 7.906 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4661, allocations: 4 kB / 440.6 MB, free: 7.902 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4661, allocations: 3.938 kB / 440.6 MB, free: 7.898 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4661, allocations: 0 / 440.6 MB, free: 7.898 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.4662, allocations: 8 kB / 440.6 MB, free: 7.891 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4663, allocations: 1.375 kB / 440.6 MB, free: 7.891 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.4663, allocations: 0 / 440.6 MB, free: 7.891 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.4663, allocations: 6.125 kB / 440.6 MB, free: 7.887 MB / 331.1 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.426e-05/0.4664, allocations: 113.9 kB / 440.7 MB, free: 7.77 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.4664, allocations: 11.94 kB / 440.7 MB, free: 7.758 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.4665, allocations: 4.344 kB / 440.7 MB, free: 7.75 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4665, allocations: 0 / 440.7 MB, free: 7.75 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4665, allocations: 0.8438 kB / 440.7 MB, free: 7.75 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4665, allocations: 0 / 440.7 MB, free: 7.75 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4668, allocations: 258.4 kB / 441 MB, free: 7.457 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4668, allocations: 0 / 441 MB, free: 7.457 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.4669, allocations: 7.953 kB / 441 MB, free: 7.449 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4669, allocations: 1.875 kB / 441 MB, free: 7.449 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4669, allocations: 0 / 441 MB, free: 7.449 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4669, allocations: 1.875 kB / 441 MB, free: 7.449 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4669, allocations: 3.938 kB / 441 MB, free: 7.445 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.4671, allocations: 149.2 kB / 441.1 MB, free: 7.285 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.4672, allocations: 77.11 kB / 441.2 MB, free: 7.191 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.4672, allocations: 3.953 kB / 441.2 MB, free: 7.188 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.4673, allocations: 8.031 kB / 441.2 MB, free: 7.18 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.4673, allocations: 0 / 441.2 MB, free: 7.18 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4674, allocations: 0 / 441.2 MB, free: 7.18 MB / 331.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.4675, allocations: 87.27 kB / 441.3 MB, free: 7.094 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4675, allocations: 0 / 441.3 MB, free: 7.094 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.4679, allocations: 35.94 kB / 441.4 MB, free: 7.059 MB / 331.1 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.0005528/0.4685, allocations: 194.5 kB / 441.5 MB, free: 6.895 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.4686, allocations: 19.94 kB / 441.6 MB, free: 6.875 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4686, allocations: 0 / 441.6 MB, free: 6.875 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.4687, allocations: 8.047 kB / 441.6 MB, free: 6.867 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.4689, allocations: 8 kB / 441.6 MB, free: 6.859 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.4691, allocations: 84.36 kB / 441.7 MB, free: 6.75 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4695, allocations: 0.6807 MB / 442.3 MB, free: 6.043 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.4695, allocations: 7.438 kB / 442.3 MB, free: 6.035 MB / 331.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4695, allocations: 0 / 442.3 MB, free: 6.035 MB / 331.1 MB Notification: Performance of Templates: time 0.004492/0.474, allocations: 1.362 MB / 443.7 MB, free: 4.688 MB / 331.1 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