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.001298/0.001298, allocations: 110.2 kB / 17.06 MB, free: 5.793 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.001368/0.001368, allocations: 198.8 kB / 18.01 MB, free: 4.918 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.343/1.343, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 39.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.27, allocations: 49.44 MB / 400.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002725/0.2728, allocations: 0.8796 MB / 401.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.2735, allocations: 253.5 kB / 401.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2737, allocations: 5.156 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.2738, allocations: 9.141 kB / 401.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2739, allocations: 6.156 kB / 401.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.2745, allocations: 105.4 kB / 401.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2747, allocations: 49.44 kB / 401.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2748, allocations: 19.3 kB / 401.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.2748, allocations: 14.88 kB / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.262e-05/0.2749, allocations: 24.53 kB / 401.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.275, allocations: 3.219 kB / 401.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2751, allocations: 43.92 kB / 401.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.2752, allocations: 24.3 kB / 401.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.2753, allocations: 26.66 kB / 401.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2755, allocations: 95.23 kB / 401.8 MB, free: 7.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2755, allocations: 3.938 kB / 401.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2755, allocations: 4 kB / 401.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2755, allocations: 3.984 kB / 401.8 MB, free: 7.254 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.0005964/0.2761, allocations: 383.1 kB / 402.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.2762, allocations: 12.03 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.2763, allocations: 38.73 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.2763, allocations: 12.84 kB / 402.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.2766, allocations: 207.2 kB / 402.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2766, allocations: 8.375 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2766, allocations: 384 / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.2769, allocations: 157.5 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2769, allocations: 3.938 kB / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2769, allocations: 0 / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2769, allocations: 0 / 402.6 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.277, allocations: 27.92 kB / 402.6 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2773, allocations: 265.8 kB / 402.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.2774, allocations: 46.56 kB / 402.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.2774, allocations: 24.89 kB / 403 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/0.2781, allocations: 0.5817 MB / 403.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.2781, allocations: 34.56 kB / 403.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.2781, allocations: 0 / 403.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002475/0.2784, allocations: 93.64 kB / 403.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.2784, allocations: 59.41 kB / 403.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2786, allocations: 143.3 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2786, allocations: 29.7 kB / 403.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.2787, allocations: 88.14 kB / 404 MB, free: 4.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.2787, allocations: 11.88 kB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.2787, allocations: 29.72 kB / 404 MB, free: 4.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2789, allocations: 326.8 kB / 404.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.2789, allocations: 19.92 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.2789, allocations: 65.94 kB / 404.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.2791, allocations: 77.94 kB / 404.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2791, allocations: 3.938 kB / 404.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.2792, allocations: 109.5 kB / 404.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2793, allocations: 11.98 kB / 404.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2793, allocations: 0 / 404.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2793, allocations: 4 kB / 404.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.2794, allocations: 12 kB / 404.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.2794, allocations: 7.938 kB / 404.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.2794, allocations: 7.953 kB / 404.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2795, allocations: 11.94 kB / 404.7 MB, free: 3.969 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.0001194/0.2796, allocations: 130 kB / 404.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.2797, allocations: 69.69 kB / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.2799, allocations: 90.36 kB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2799, allocations: 0 / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.2799, allocations: 3.984 kB / 405 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2799, allocations: 4 kB / 405 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.2801, allocations: 177.5 kB / 405.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2801, allocations: 0 / 405.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.2801, allocations: 7.984 kB / 405.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2801, allocations: 8 kB / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2801, allocations: 0 / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2801, allocations: 0 / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2802, allocations: 0 / 405.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.2803, allocations: 101 kB / 405.2 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.2804, allocations: 105 kB / 405.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2804, allocations: 0 / 405.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.263e-05/0.2804, allocations: 0 / 405.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-06/0.2804, allocations: 4 kB / 405.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2805, allocations: 4 kB / 405.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.2806, allocations: 121.4 kB / 405.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2806, allocations: 0 / 405.5 MB, free: 3.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.2808, allocations: 16 kB / 405.5 MB, free: 3.035 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.0005497/0.2813, allocations: 0.683 MB / 406.2 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.2815, allocations: 55.89 kB / 406.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2815, allocations: 0 / 406.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2815, allocations: 0 / 406.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.2819, allocations: 77.64 kB / 406.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2832, allocations: 1.465 MB / 407.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2834, allocations: 0.7039 MB / 408.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.2835, allocations: 12.66 kB / 408.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.2835, allocations: 19.38 kB / 408.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2835, allocations: 0 / 408.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3023, allocations: 2.593 MB / 411.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.807, allocations: 14.95 kB / 411.1 MB, free: 13.35 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