Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 113.5 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 185.7 kB / 23.72 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 43.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3259, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002353/0.3283, allocations: 0.9081 MB / 423.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006764/0.329, allocations: 271.2 kB / 423.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.329, allocations: 4 kB / 423.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.959e-05/0.3291, allocations: 7.875 kB / 423.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.3294, allocations: 27.86 kB / 423.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3296, allocations: 39.89 kB / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3297, allocations: 51.84 kB / 423.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.3298, allocations: 8.188 kB / 423.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.3299, allocations: 27.91 kB / 424 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.33, allocations: 19.86 kB / 424 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.33, allocations: 4 kB / 424 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.3301, allocations: 27.92 kB / 424 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.3301, allocations: 15.92 kB / 424 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.3302, allocations: 27.8 kB / 424.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.3304, allocations: 89.31 kB / 424.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3304, allocations: 0 / 424.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3304, allocations: 0 / 424.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3304, allocations: 0 / 424.2 MB, free: 13.09 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.0004982/0.3309, allocations: 309.9 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3309, allocations: 15.97 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.331, allocations: 38.73 kB / 424.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.331, allocations: 12.83 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3312, allocations: 138.3 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3312, allocations: 4.375 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.3312, allocations: 384 / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3315, allocations: 157.2 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3315, allocations: 0 / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3315, allocations: 0 / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3316, allocations: 0 / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.3316, allocations: 19.98 kB / 424.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.3319, allocations: 252.7 kB / 425.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.332, allocations: 46.56 kB / 425.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.3321, allocations: 16.92 kB / 425.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3321, allocations: 0 / 425.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3321, allocations: 38.56 kB / 425.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.3321, allocations: 0 / 425.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001931/0.3323, allocations: 85.61 kB / 425.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.3324, allocations: 55.41 kB / 425.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3325, allocations: 148.4 kB / 425.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3325, allocations: 25.7 kB / 425.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3326, allocations: 84.14 kB / 425.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.3326, allocations: 11.89 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.3327, allocations: 29.7 kB / 425.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3328, allocations: 318.8 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.3328, allocations: 15.98 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.3329, allocations: 57.11 kB / 426 MB, free: 11.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.333, allocations: 65.22 kB / 426.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.333, allocations: 0 / 426.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001452/0.3331, allocations: 97.5 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3331, allocations: 8 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3331, allocations: 192 / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3331, allocations: 4 kB / 426.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.3332, allocations: 15.98 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3332, allocations: 4 kB / 426.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.3333, allocations: 8 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3333, allocations: 3.938 kB / 426.2 MB, free: 10.8 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.0001217/0.3334, allocations: 135.2 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3335, allocations: 69.62 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3337, allocations: 82.33 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3337, allocations: 8 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3337, allocations: 0 / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3337, allocations: 0 / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3338, allocations: 148.6 kB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3338, allocations: 4 kB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.3339, allocations: 4 kB / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3339, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3339, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3339, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3339, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.334, allocations: 109 kB / 426.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.3341, allocations: 19.88 kB / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3341, allocations: 4 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.3341, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-06/0.3341, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3341, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.49e-05/0.3342, allocations: 115.2 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3342, allocations: 3.938 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3344, allocations: 12 kB / 426.9 MB, free: 10.02 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.000653/0.3351, allocations: 0.6765 MB / 427.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3352, allocations: 44.28 kB / 427.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3352, allocations: 4.062 kB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3352, allocations: 0 / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3355, allocations: 65.66 kB / 427.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3369, allocations: 1.398 MB / 429.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3372, allocations: 0.6961 MB / 429.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.962e-05/0.3372, allocations: 7.984 kB / 429.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.3373, allocations: 19.44 kB / 429.8 MB, free: 6.941 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3373, allocations: 4 kB / 429.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.3667, allocations: 2.411 MB / 432.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 4 kB / 432.2 MB, free: 4.672 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.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.846136882999417]