Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 209.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 39.94 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2699, allocations: 53.37 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002444/0.2724, allocations: 0.8855 MB / 432 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007201/0.2731, allocations: 263.1 kB / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.2732, allocations: 0 / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.2733, allocations: 7.922 kB / 432.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.2736, allocations: 35.84 kB / 432.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2738, allocations: 47.83 kB / 432.3 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2739, allocations: 39.91 kB / 432.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2741, allocations: 12.19 kB / 432.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.2741, allocations: 19.86 kB / 432.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.2742, allocations: 31.84 kB / 432.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2742, allocations: 4 kB / 432.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.2743, allocations: 19.98 kB / 432.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.2743, allocations: 11.98 kB / 432.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.2744, allocations: 27.75 kB / 432.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2746, allocations: 85.33 kB / 432.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2746, allocations: 3.984 kB / 432.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2746, allocations: 0 / 432.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.2746, allocations: 0 / 432.6 MB, free: 5.176 MB / 334.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.0005595/0.2752, allocations: 308.7 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2752, allocations: 12.03 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.2752, allocations: 38.73 kB / 432.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2753, allocations: 12.84 kB / 432.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2756, allocations: 138.3 kB / 433.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2756, allocations: 12.31 kB / 433.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.2756, allocations: 384 / 433.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2759, allocations: 153.2 kB / 433.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2759, allocations: 0 / 433.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2759, allocations: 3.938 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.2759, allocations: 0 / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.276, allocations: 19.98 kB / 433.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.2763, allocations: 236.8 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2764, allocations: 50.5 kB / 433.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.2765, allocations: 24.92 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2765, allocations: 7.969 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2765, allocations: 30.56 kB / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.2765, allocations: 0 / 433.6 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002089/0.2767, allocations: 77.64 kB / 433.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.2768, allocations: 55.34 kB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2769, allocations: 149.8 kB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2769, allocations: 29.7 kB / 433.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.277, allocations: 88.14 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.277, allocations: 8 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.277, allocations: 25.66 kB / 434 MB, free: 3.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2772, allocations: 322.8 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.2772, allocations: 11.98 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.2773, allocations: 53.14 kB / 434.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.2774, allocations: 65.27 kB / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2774, allocations: 3.938 kB / 434.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001442/0.2775, allocations: 85.56 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2775, allocations: 8 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2775, allocations: 0 / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2775, allocations: 7.984 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.2776, allocations: 15.94 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2776, allocations: 0 / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.2777, allocations: 16.14 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2777, allocations: 4 kB / 434.6 MB, free: 2.902 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.0001141/0.2778, allocations: 125.8 kB / 434.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.2779, allocations: 69.58 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.278, allocations: 78.39 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.278, allocations: 0 / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.278, allocations: 0 / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2781, allocations: 0 / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2782, allocations: 148.6 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.2782, allocations: 0 / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.2782, allocations: 8 kB / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2782, allocations: 0 / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2782, allocations: 7.938 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2782, allocations: 0 / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2782, allocations: 0 / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2784, allocations: 105 kB / 435.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.2784, allocations: 19.94 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2784, allocations: 3.938 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.2784, allocations: 4 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.2784, allocations: 0 / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2785, allocations: 0 / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.991e-05/0.2785, allocations: 121.9 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2785, allocations: 0 / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00021/0.2787, allocations: 16 kB / 435.3 MB, free: 2.125 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.0006405/0.2794, allocations: 0.6784 MB / 436 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2795, allocations: 43.91 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2795, allocations: 0 / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2795, allocations: 448 / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2798, allocations: 68.8 kB / 436.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2812, allocations: 1.391 MB / 437.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.792e-05/0.2813, allocations: 83.39 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.2813, allocations: 7.984 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.2813, allocations: 19.44 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2813, allocations: 7.875 kB / 437.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3097, allocations: 2.863 MB / 440.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.2, allocations: 12 kB / 440.5 MB, free: 12.95 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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.000197981 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k [Calling sys.exit(0), Time elapsed: 13.649984643008793]