Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",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.001313/0.001313, allocations: 112 kB / 17.06 MB, free: 5.988 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.001219/0.001219, allocations: 195.9 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 51.86 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2866, allocations: 49.44 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002222/0.2889, allocations: 0.876 MB / 401.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005701/0.2895, allocations: 253.5 kB / 401.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.2896, allocations: 5.25 kB / 401.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2897, allocations: 7.922 kB / 401.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2899, allocations: 10.66 kB / 401.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.2903, allocations: 99.55 kB / 401.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2904, allocations: 45.17 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2906, allocations: 20.02 kB / 401.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.2906, allocations: 13.41 kB / 401.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.2907, allocations: 29.34 kB / 401.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2908, allocations: 3.25 kB / 401.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.2909, allocations: 42.27 kB / 401.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.2909, allocations: 23.86 kB / 401.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.291, allocations: 31.75 kB / 401.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2912, allocations: 94.64 kB / 401.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2912, allocations: 0 / 401.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.2912, allocations: 3.984 kB / 401.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2912, allocations: 0 / 401.8 MB, free: 7.285 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005475/0.2917, allocations: 386.2 kB / 402.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2918, allocations: 15.83 kB / 402.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.2918, allocations: 38.73 kB / 402.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.2919, allocations: 16.78 kB / 402.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2921, allocations: 212.2 kB / 402.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.2922, allocations: 384 / 402.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2922, allocations: 8.375 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.2925, allocations: 145.5 kB / 402.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2925, allocations: 3.938 kB / 402.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2925, allocations: 4 kB / 402.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2925, allocations: 4 kB / 402.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.2926, allocations: 19.98 kB / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.2929, allocations: 269.7 kB / 402.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.293, allocations: 42.56 kB / 402.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.293, allocations: 28.89 kB / 403 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.2937, allocations: 0.5778 MB / 403.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2937, allocations: 30.56 kB / 403.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2937, allocations: 4 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001837/0.2939, allocations: 97.5 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.294, allocations: 59.34 kB / 403.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2941, allocations: 147.5 kB / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2941, allocations: 29.7 kB / 403.9 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.2941, allocations: 92.2 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.2942, allocations: 11.94 kB / 404 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.2943, allocations: 21.72 kB / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.2944, allocations: 326.8 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.2944, allocations: 23.98 kB / 404.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.2945, allocations: 65.88 kB / 404.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.2946, allocations: 81.94 kB / 404.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2946, allocations: 0 / 404.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001443/0.2947, allocations: 109.4 kB / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2948, allocations: 12.2 kB / 404.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2948, allocations: 4 kB / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2948, allocations: 0 / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.2949, allocations: 16 kB / 404.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2949, allocations: 0 / 404.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.557e-05/0.2949, allocations: 7.953 kB / 404.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.2949, allocations: 7.938 kB / 404.7 MB, free: 3.996 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.943e-05/0.295, allocations: 137.7 kB / 404.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2952, allocations: 65.64 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2953, allocations: 86.33 kB / 404.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2953, allocations: 7.938 kB / 405 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2954, allocations: 3.984 kB / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2954, allocations: 0 / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.2955, allocations: 177.6 kB / 405.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2955, allocations: 0 / 405.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.2955, allocations: 11.98 kB / 405.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2955, allocations: 0 / 405.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2955, allocations: 0 / 405.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2956, allocations: 0 / 405.1 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2956, allocations: 4 kB / 405.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2957, allocations: 97.16 kB / 405.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.2958, allocations: 109 kB / 405.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2958, allocations: 4 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.2958, allocations: 3.938 kB / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.2958, allocations: 0 / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2958, allocations: 0 / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.2959, allocations: 121.4 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.296, allocations: 4 kB / 405.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.2962, allocations: 16 kB / 405.5 MB, free: 3.055 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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.000507/0.2967, allocations: 0.6789 MB / 406.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2969, allocations: 60.22 kB / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2969, allocations: 0 / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.7e-07/0.2969, allocations: 0 / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2973, allocations: 84.52 kB / 406.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2986, allocations: 1.461 MB / 407.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2989, allocations: 0.7039 MB / 408.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.2989, allocations: 12.66 kB / 408.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.299, allocations: 19.44 kB / 408.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.299, allocations: 0 / 408.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.3203, allocations: 2.59 MB / 411.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.162, allocations: 15.08 kB / 411.1 MB, free: 13.37 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y