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.001738/0.001738, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002259/0.002259, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002712, allocations: 63.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.297, allocations: 50.53 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.003005/0.3001, allocations: 0.8927 MB / 409.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000845/0.3009, allocations: 259.2 kB / 409.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.429e-05/0.301, allocations: 0 / 409.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.418e-05/0.3011, allocations: 7.875 kB / 409.9 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.3016, allocations: 31.84 kB / 409.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.3019, allocations: 39.89 kB / 410 MB, free: 348 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3021, allocations: 51.84 kB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3022, allocations: 20.17 kB / 410.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.3023, allocations: 11.94 kB / 410.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3024, allocations: 27.84 kB / 410.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.3024, allocations: 4 kB / 410.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3025, allocations: 19.94 kB / 410.1 MB, free: 208 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.3026, allocations: 19.91 kB / 410.1 MB, free: 188 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.3027, allocations: 31.8 kB / 410.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.3029, allocations: 78.66 kB / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.303, allocations: 4 kB / 410.3 MB, free: 76 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.303, allocations: 4 kB / 410.3 MB, free: 72 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.303, allocations: 0 / 410.3 MB, free: 72 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.0007288/0.3037, allocations: 383 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.3038, allocations: 8.031 kB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.3038, allocations: 34.75 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3039, allocations: 12.84 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.3042, allocations: 200.1 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3042, allocations: 4.375 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3043, allocations: 4.375 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.3047, allocations: 153.2 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3047, allocations: 0 / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3047, allocations: 0 / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3047, allocations: 0 / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.3048, allocations: 23.92 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.3052, allocations: 285.6 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.3054, allocations: 42.58 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.3054, allocations: 28.95 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3055, allocations: 0 / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3055, allocations: 34.56 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3055, allocations: 4 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000256/0.3058, allocations: 77.58 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.3059, allocations: 59.39 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3061, allocations: 148 kB / 411.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3061, allocations: 25.7 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.3062, allocations: 88.12 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3062, allocations: 8 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3063, allocations: 25.67 kB / 411.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3065, allocations: 330.7 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.3065, allocations: 12 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.3066, allocations: 45.14 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3067, allocations: 69.02 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3067, allocations: 192 / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001869/0.3069, allocations: 93.7 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3069, allocations: 8.031 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.307, allocations: 8 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.307, allocations: 0 / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3071, allocations: 12 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.3071, allocations: 7.984 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.3072, allocations: 3.953 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3072, allocations: 4 kB / 412.4 MB, free: 13.59 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.000147/0.3074, allocations: 129.3 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3075, allocations: 69.64 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.3077, allocations: 78.39 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3077, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3077, allocations: 3.938 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3077, allocations: 4 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3079, allocations: 181.5 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.308, allocations: 0 / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.308, allocations: 4 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.308, allocations: 0 / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.308, allocations: 4 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.308, allocations: 3.938 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3081, allocations: 4 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.3083, allocations: 96.97 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3084, allocations: 97.03 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3084, allocations: 11.94 kB / 413.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.3085, allocations: 4 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-06/0.3085, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3085, allocations: 4 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3086, allocations: 114.2 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3086, allocations: 0 / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000327/0.309, allocations: 16 kB / 413.3 MB, free: 12.68 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.0008256/0.3098, allocations: 0.67 MB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.31, allocations: 51.97 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.31, allocations: 0 / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.31, allocations: 0 / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3104, allocations: 69.91 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3122, allocations: 1.398 MB / 415.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.3126, allocations: 0.6963 MB / 416.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.628e-05/0.3127, allocations: 19.75 kB / 416.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.3128, allocations: 15.44 kB / 416.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3128, allocations: 0 / 416.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.3388, allocations: 2.24 MB / 418.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.49, allocations: 3.984 kB / 418.4 MB, free: 7.492 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.1.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