Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.88 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3861, allocations: 50.52 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002962/0.3891, allocations: 0.8811 MB / 409.6 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.39, allocations: 263.2 kB / 409.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.3901, allocations: 0 / 409.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.068e-05/0.3902, allocations: 11.92 kB / 409.9 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.3906, allocations: 23.86 kB / 409.9 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.3909, allocations: 47.83 kB / 410 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3911, allocations: 47.83 kB / 410 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3912, allocations: 20.19 kB / 410.1 MB, free: 252 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.3913, allocations: 19.92 kB / 410.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.3914, allocations: 19.86 kB / 410.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.3914, allocations: 4 kB / 410.1 MB, free: 208 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.3915, allocations: 19.98 kB / 410.1 MB, free: 188 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.344e-05/0.3916, allocations: 23.91 kB / 410.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.3916, allocations: 23.81 kB / 410.2 MB, free: 140 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3919, allocations: 82.59 kB / 410.2 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3919, allocations: 4 kB / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3919, allocations: 0 / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3919, allocations: 0 / 410.2 MB, free: 56 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007114/0.3927, allocations: 387 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3927, allocations: 12.03 kB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.3927, allocations: 30.75 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.3928, allocations: 16.84 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.3931, allocations: 203.1 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3931, allocations: 8.375 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3931, allocations: 4.375 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.3935, allocations: 145.2 kB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3935, allocations: 0 / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3935, allocations: 8 kB / 411 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.3935, allocations: 0 / 411 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.3936, allocations: 23.92 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.394, allocations: 273.7 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3941, allocations: 54.5 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.3942, allocations: 20.92 kB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.3942, allocations: 0 / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3943, allocations: 38.56 kB / 411.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.3943, allocations: 0 / 411.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002363/0.3945, allocations: 81.67 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.3946, allocations: 51.41 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3947, allocations: 148 kB / 411.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3947, allocations: 29.64 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.3948, allocations: 92.12 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.3948, allocations: 4 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3949, allocations: 29.67 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.395, allocations: 322.7 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.395, allocations: 15.98 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.3951, allocations: 53.14 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.585e-05/0.3952, allocations: 65.08 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3952, allocations: 0 / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001386/0.3953, allocations: 89.64 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3954, allocations: 8 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3954, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3954, allocations: 4 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.3955, allocations: 19.92 kB / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3955, allocations: 0 / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.3956, allocations: 11.95 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3956, allocations: 4 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001335/0.3957, allocations: 129.4 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/0.3958, allocations: 81.7 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.396, allocations: 78.48 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.396, allocations: 0 / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.396, allocations: 3.984 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.396, allocations: 0 / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3962, allocations: 181.5 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3962, allocations: 0 / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.3962, allocations: 4 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3962, allocations: 0 / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3962, allocations: 0 / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3962, allocations: 4 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3963, allocations: 4 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3964, allocations: 104.9 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.3965, allocations: 93.05 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.3965, allocations: 7.938 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.3966, allocations: 0 / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.3966, allocations: 0 / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3966, allocations: 0 / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.024e-05/0.3967, allocations: 122 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3967, allocations: 0 / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.3969, allocations: 12 kB / 413.3 MB, free: 12.65 MB / 334.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 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * 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.000734/0.3977, allocations: 0.682 MB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.3978, allocations: 43.92 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3978, allocations: 4 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3978, allocations: 0 / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3982, allocations: 65.7 kB / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3995, allocations: 1.398 MB / 415.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3998, allocations: 0.6924 MB / 416.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.3998, allocations: 15.77 kB / 416.2 MB, free: 9.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.3999, allocations: 19.44 kB / 416.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3999, allocations: 0 / 416.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.419, allocations: 2.238 MB / 418.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.418, allocations: 3.984 kB / 418.4 MB, free: 7.473 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k