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.001466/0.00147, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001119/0.001118, allocations: 103.1 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3202, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4347, allocations: 75.29 MB / 449.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4351, allocations: 67.97 kB / 449.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008074/0.4432, allocations: 2.013 MB / 451.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4432, allocations: 3.938 kB / 451.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4432, allocations: 0 / 451.9 MB, free: 3.387 MB / 330.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.0003758/0.4436, allocations: 343.3 kB / 452.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4437, allocations: 8.031 kB / 452.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.4437, allocations: 8 kB / 452.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.4439, allocations: 159.1 kB / 452.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4439, allocations: 0 / 452.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.4439, allocations: 7.953 kB / 452.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.155e-05/0.444, allocations: 33.69 kB / 452.5 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.444, allocations: 0 / 452.5 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4441, allocations: 4 kB / 452.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4441, allocations: 0 / 452.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.4441, allocations: 4 kB / 452.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.4445, allocations: 248.9 kB / 452.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.703e-05/0.4445, allocations: 26.56 kB / 452.7 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-06/0.4446, allocations: 0 / 452.7 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.4447, allocations: 51.47 kB / 452.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.4447, allocations: 0 / 452.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001971/0.4449, allocations: 61.53 kB / 452.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.445, allocations: 59.34 kB / 452.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.4451, allocations: 101 kB / 453 MB, free: 2.105 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4451, allocations: 25.7 kB / 453 MB, free: 2.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.4451, allocations: 158.6 kB / 453.2 MB, free: 1.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.4452, allocations: 7.891 kB / 453.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4452, allocations: 0 / 453.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4453, allocations: 314.8 kB / 453.5 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.4453, allocations: 11.98 kB / 453.5 MB, free: 1.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.4454, allocations: 17.72 kB / 453.5 MB, free: 1.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.4454, allocations: 12 kB / 453.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4455, allocations: 0 / 453.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001219/0.4456, allocations: 57.58 kB / 453.6 MB, free: 1.484 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4456, allocations: 5.094 kB / 453.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4456, allocations: 3.938 kB / 453.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4457, allocations: 7.984 kB / 453.6 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.4458, allocations: 8.031 kB / 453.6 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4458, allocations: 3.938 kB / 453.6 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.4458, allocations: 7.938 kB / 453.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4458, allocations: 4 kB / 453.6 MB, free: 1.445 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 () * Number of clocked 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 8.233e-05/0.4459, allocations: 109.8 kB / 453.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.4459, allocations: 7.859 kB / 453.7 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.446, allocations: 11.89 kB / 453.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.446, allocations: 0 / 453.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.446, allocations: 4 kB / 453.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.446, allocations: 4.234 kB / 453.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.4463, allocations: 282.6 kB / 454 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4463, allocations: 0 / 454 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.4463, allocations: 7.938 kB / 454 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4464, allocations: 0 / 454 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4464, allocations: 0 / 454 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4464, allocations: 3.938 kB / 454.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4464, allocations: 0 / 454.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.4465, allocations: 157.5 kB / 454.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.4466, allocations: 77.11 kB / 454.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4466, allocations: 0 / 454.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.4467, allocations: 4 kB / 454.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.4467, allocations: 0 / 454.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.4467, allocations: 0 / 454.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.253e-05/0.4468, allocations: 91.64 kB / 454.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4468, allocations: 0 / 454.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.4472, allocations: 32 kB / 454.4 MB, free: 0.5703 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 () * Number of clocked 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.000484/0.4477, allocations: 192.7 kB / 454.6 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.4478, allocations: 23.92 kB / 454.6 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4478, allocations: 4.062 kB / 454.6 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.4479, allocations: 8 kB / 454.6 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.4481, allocations: 3.984 kB / 454.6 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.4484, allocations: 142.8 kB / 454.8 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.4486, allocations: 0.7003 MB / 455.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.4487, allocations: 7.438 kB / 455.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4487, allocations: 0 / 455.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of Templates: time 0.003989/0.4527, allocations: 1.332 MB / 456.8 MB, free: 14.12 MB / 346.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