Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002125/0.002124, allocations: 106.6 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 195 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.958/2.958, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 43.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7712, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.006667/0.778, allocations: 1.331 MB / 401.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.7839, allocations: 349.2 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.784, allocations: 5.094 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.413e-05/0.784, allocations: 3.938 kB / 401.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.7843, allocations: 3.938 kB / 401.9 MB, free: 7.094 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.7852, allocations: 86.62 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.7854, allocations: 14.86 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.7855, allocations: 7.984 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.7855, allocations: 7.938 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.7856, allocations: 7.938 kB / 402 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.7856, allocations: 4 kB / 402 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003226/0.786, allocations: 83.84 kB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.786, allocations: 8 kB / 402.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.7861, allocations: 11.92 kB / 402.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.7865, allocations: 79.83 kB / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.7865, allocations: 4 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.7865, allocations: 0 / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.7865, allocations: 0 / 402.2 MB, free: 6.816 MB / 318.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.0007774/0.7873, allocations: 349.2 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.561e-05/0.7874, allocations: 8.031 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.7875, allocations: 30.75 kB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.7876, allocations: 4.938 kB / 402.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.7878, allocations: 180.2 kB / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.7879, allocations: 384 / 402.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.7879, allocations: 12.06 kB / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.7881, allocations: 37.69 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.7881, allocations: 0 / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.7882, allocations: 3.984 kB / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.7882, allocations: 0 / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.7882, allocations: 4 kB / 402.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.789, allocations: 272.8 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.7891, allocations: 18.58 kB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.7892, allocations: 12.92 kB / 403.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.7892, allocations: 0 / 403.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/0.7896, allocations: 55.39 kB / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.7896, allocations: 0 / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003166/0.7899, allocations: 61.62 kB / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.79, allocations: 51.41 kB / 403.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.7902, allocations: 105.8 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.7902, allocations: 25.7 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.7903, allocations: 92.06 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.7903, allocations: 3.906 kB / 403.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.7904, allocations: 25.7 kB / 403.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.7906, allocations: 318.8 kB / 403.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.7907, allocations: 8 kB / 403.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.7907, allocations: 21.7 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.7908, allocations: 29.66 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7908, allocations: 0 / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001356/0.791, allocations: 61.53 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.791, allocations: 4 kB / 404 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.791, allocations: 0 / 404 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.7911, allocations: 8.031 kB / 404 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.7912, allocations: 4 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.7912, allocations: 3.984 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.7912, allocations: 7.938 kB / 404 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.7913, allocations: 0 / 404 MB, free: 4.789 MB / 318.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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.7914, allocations: 117.8 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.7915, allocations: 0 / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.7915, allocations: 3.906 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.7915, allocations: 4 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7915, allocations: 7.938 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7916, allocations: 0 / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.792, allocations: 290.9 kB / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.792, allocations: 4 kB / 404.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.792, allocations: 4 kB / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.792, allocations: 0 / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.792, allocations: 288 / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.792, allocations: 0 / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7921, allocations: 7.938 kB / 404.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.7922, allocations: 147.4 kB / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.641e-05/0.7923, allocations: 85.09 kB / 404.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.7923, allocations: 4 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.7924, allocations: 0 / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.7925, allocations: 7.875 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.7925, allocations: 4 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.594e-05/0.7926, allocations: 83.27 kB / 404.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7926, allocations: 0 / 404.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000467/0.7931, allocations: 32 kB / 404.8 MB, free: 3.895 MB / 318.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.7943, allocations: 0.7758 MB / 405.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.7945, allocations: 19.94 kB / 405.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7945, allocations: 0 / 405.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.7946, allocations: 11.98 kB / 405.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.7949, allocations: 7.938 kB / 405.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.7969, allocations: 1.22 MB / 406.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.7974, allocations: 0.6922 MB / 407.5 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.7975, allocations: 11.98 kB / 407.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.7976, allocations: 19.45 kB / 407.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7976, allocations: 0 / 407.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3526/1.15, allocations: 1.92 MB / 409.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/20.35, allocations: 11.91 kB / 409.5 MB, free: 15.18 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches