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.001364/0.001364, allocations: 113.2 kB / 17.07 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.001377/0.001377, allocations: 193.4 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2654, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002256/0.2677, allocations: 0.888 MB / 401.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005914/0.2684, allocations: 252.3 kB / 401.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.2684, allocations: 2.438 kB / 401.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.2685, allocations: 3.938 kB / 401.4 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2687, allocations: 14.55 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2691, allocations: 92.86 kB / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2692, allocations: 49.89 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.2693, allocations: 20.16 kB / 401.6 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.453e-05/0.2693, allocations: 17.36 kB / 401.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.2694, allocations: 25.48 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2694, allocations: 2.781 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.2695, allocations: 44.55 kB / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.2696, allocations: 23.39 kB / 401.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.2697, allocations: 34.58 kB / 401.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2698, allocations: 90.52 kB / 401.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2698, allocations: 0 / 401.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.2699, allocations: 0 / 401.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.2699, allocations: 3.938 kB / 401.8 MB, free: 7.312 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.0005287/0.2704, allocations: 390.1 kB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2704, allocations: 12.03 kB / 402.2 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.2705, allocations: 34.75 kB / 402.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.2705, allocations: 16.83 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.2708, allocations: 204.1 kB / 402.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2708, allocations: 8.375 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2708, allocations: 4.375 kB / 402.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.2711, allocations: 161.5 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.2712, allocations: 3.938 kB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2712, allocations: 0 / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2712, allocations: 0 / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.2712, allocations: 16 kB / 402.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2716, allocations: 277.7 kB / 402.9 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.2717, allocations: 46.56 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.2717, allocations: 20.86 kB / 403 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/0.2724, allocations: 0.5818 MB / 403.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2724, allocations: 34.56 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2724, allocations: 0 / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002171/0.2727, allocations: 89.53 kB / 403.7 MB, free: 5.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2727, allocations: 63.39 kB / 403.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.2729, allocations: 139.3 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2729, allocations: 25.7 kB / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.2729, allocations: 96.12 kB / 404 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.273, allocations: 7.891 kB / 404 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.273, allocations: 33.7 kB / 404 MB, free: 4.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2732, allocations: 322.8 kB / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.2732, allocations: 19.98 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.2733, allocations: 65.88 kB / 404.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.2734, allocations: 81.92 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2734, allocations: 4 kB / 404.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.2735, allocations: 109.5 kB / 404.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2736, allocations: 4 kB / 404.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2736, allocations: 3.938 kB / 404.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2736, allocations: 4 kB / 404.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.2737, allocations: 19.98 kB / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2737, allocations: 0 / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.755e-05/0.2737, allocations: 7.953 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2737, allocations: 15.94 kB / 404.7 MB, free: 4.02 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 0.0001211/0.2739, allocations: 137.9 kB / 404.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.274, allocations: 65.72 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.2741, allocations: 86.38 kB / 405 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2742, allocations: 0 / 405 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2742, allocations: 7.938 kB / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2742, allocations: 0 / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2743, allocations: 173.6 kB / 405.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.2743, allocations: 4 kB / 405.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.2744, allocations: 4 kB / 405.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.2744, allocations: 4 kB / 405.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2744, allocations: 3.938 kB / 405.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2744, allocations: 0 / 405.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2744, allocations: 0 / 405.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.2746, allocations: 105.1 kB / 405.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.2747, allocations: 101 kB / 405.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2747, allocations: 0 / 405.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.2747, allocations: 7.984 kB / 405.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-06/0.2747, allocations: 4 kB / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.2747, allocations: 0 / 405.4 MB, free: 3.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.2748, allocations: 121.2 kB / 405.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2748, allocations: 0 / 405.5 MB, free: 3.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000221/0.2751, allocations: 16 kB / 405.5 MB, free: 3.086 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.0006076/0.2757, allocations: 0.6827 MB / 406.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2758, allocations: 47.92 kB / 406.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2758, allocations: 0 / 406.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2758, allocations: 0 / 406.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.2762, allocations: 85.88 kB / 406.3 MB, free: 2.238 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2776, allocations: 1.469 MB / 407.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.278, allocations: 0.7039 MB / 408.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.867e-05/0.2781, allocations: 4.672 kB / 408.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.2781, allocations: 23.42 kB / 408.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2781, allocations: 0 / 408.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3006, allocations: 2.593 MB / 411.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.183, allocations: 10.95 kB / 411.1 MB, free: 13.4 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