Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.6 MB / 234.8 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008203/0.0008203, allocations: 93.06 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.819e-05, allocations: 4 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08847, allocations: 51.47 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.3919, allocations: 76.27 MB / 471.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.3921, allocations: 68.59 kB / 471.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004537/0.3966, allocations: 1.99 MB / 473.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3967, allocations: 0 / 473.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3967, allocations: 2.219 kB / 473.5 MB, free: 13.73 MB / 346.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.0002065/0.3969, allocations: 339 kB / 473.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.3969, allocations: 8.688 kB / 473.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.397, allocations: 0.9375 kB / 473.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.738e-05/0.397, allocations: 171.8 kB / 474 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3971, allocations: 7.156 kB / 474 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3971, allocations: 0.6562 kB / 474 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.595e-05/0.3971, allocations: 10.92 kB / 474 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.443e-05/0.3972, allocations: 31.81 kB / 474 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3972, allocations: 0 / 474 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.3972, allocations: 0.6562 kB / 474 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-06/0.3972, allocations: 0 / 474 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.3974, allocations: 224.7 kB / 474.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.3975, allocations: 30.05 kB / 474.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.3975, allocations: 17.56 kB / 474.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.3975, allocations: 0 / 474.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.572e-05/0.3976, allocations: 54.05 kB / 474.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3976, allocations: 4 kB / 474.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001189/0.3977, allocations: 49.06 kB / 474.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/0.3977, allocations: 51.41 kB / 474.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.031e-05/0.3978, allocations: 98.39 kB / 474.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.3978, allocations: 25.7 kB / 474.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.543e-05/0.3978, allocations: 88.33 kB / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.3978, allocations: 4.562 kB / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.3979, allocations: 0 / 474.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.3979, allocations: 312.3 kB / 475 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.3979, allocations: 7.438 kB / 475 MB, free: 12.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.3979, allocations: 21.78 kB / 475 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.398, allocations: 9.922 kB / 475 MB, free: 12.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.398, allocations: 0 / 475 MB, free: 12.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.796e-05/0.3981, allocations: 64.75 kB / 475.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.3981, allocations: 4 kB / 475.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3981, allocations: 0 / 475.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3981, allocations: 0 / 475.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.3982, allocations: 9.359 kB / 475.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3982, allocations: 0.6562 kB / 475.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.507e-05/0.3982, allocations: 3.938 kB / 475.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3982, allocations: 8.031 kB / 475.1 MB, free: 12 MB / 346.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 3.74e-05/0.3983, allocations: 105.7 kB / 475.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.3983, allocations: 10.72 kB / 475.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.3983, allocations: 8.922 kB / 475.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3983, allocations: 0 / 475.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3983, allocations: 0 / 475.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3983, allocations: 0.5156 kB / 475.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3984, allocations: 255.4 kB / 475.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3985, allocations: 4.656 kB / 475.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3985, allocations: 7.953 kB / 475.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3985, allocations: 0.75 kB / 475.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-06/0.3985, allocations: 0 / 475.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3985, allocations: 3.688 kB / 475.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3985, allocations: 3.984 kB / 475.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.587e-05/0.3986, allocations: 147.1 kB / 475.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.3986, allocations: 77.67 kB / 475.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3986, allocations: 8.656 kB / 475.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.3987, allocations: 7.938 kB / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.3987, allocations: 1.359 kB / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3987, allocations: 0 / 475.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.885e-05/0.3987, allocations: 83.41 kB / 475.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3987, allocations: 0 / 475.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.399, allocations: 40.39 kB / 475.9 MB, free: 11.21 MB / 346.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.0003095/0.3993, allocations: 184.4 kB / 476 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.3994, allocations: 16.61 kB / 476.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.3994, allocations: 0 / 476.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.3994, allocations: 15.89 kB / 476.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.3995, allocations: 0 / 476.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001328/0.3996, allocations: 60.62 kB / 476.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.3998, allocations: 0.6818 MB / 476.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.494e-05/0.3998, allocations: 7.953 kB / 476.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.3998, allocations: 10.39 kB / 476.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3998, allocations: 0 / 476.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of Templates: time 0.003057/0.4029, allocations: 1.104 MB / 477.9 MB, free: 9.617 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches