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.00134/0.00134, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00139/0.00139, allocations: 182.6 kB / 23.7 MB, free: 4.414 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.403/1.403, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001601/0.001601, allocations: 47.92 kB / 370.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2766, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002369/0.279, allocations: 0.9035 MB / 423.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.2796, allocations: 255.2 kB / 423.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.2797, allocations: 4 kB / 423.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.2798, allocations: 11.86 kB / 423.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.2801, allocations: 35.84 kB / 423.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.2803, allocations: 39.89 kB / 423.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2804, allocations: 47.91 kB / 423.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2805, allocations: 8.188 kB / 423.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.013e-05/0.2806, allocations: 23.86 kB / 423.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.2806, allocations: 15.91 kB / 423.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2806, allocations: 4 kB / 423.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.2807, allocations: 23.92 kB / 423.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.2808, allocations: 23.92 kB / 424 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.2808, allocations: 23.8 kB / 424 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.281, allocations: 85.33 kB / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.281, allocations: 0 / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.281, allocations: 0 / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.281, allocations: 0 / 424.1 MB, free: 12.89 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.0005094/0.2815, allocations: 309.9 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2816, allocations: 8.031 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.831e-05/0.2816, allocations: 38.73 kB / 424.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.2816, allocations: 12.83 kB / 424.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2819, allocations: 138.4 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.282, allocations: 4.375 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.282, allocations: 12.38 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.2823, allocations: 149.1 kB / 424.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2823, allocations: 0 / 424.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2823, allocations: 0 / 424.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2823, allocations: 4 kB / 424.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.2824, allocations: 19.98 kB / 424.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.2827, allocations: 240.7 kB / 425 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.2828, allocations: 54.55 kB / 425 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.2828, allocations: 20.95 kB / 425.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2829, allocations: 0 / 425.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2829, allocations: 34.56 kB / 425.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.2829, allocations: 0 / 425.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002155/0.2831, allocations: 81.58 kB / 425.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2832, allocations: 59.41 kB / 425.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2833, allocations: 144.4 kB / 425.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2833, allocations: 25.7 kB / 425.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.2834, allocations: 88.14 kB / 425.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.2834, allocations: 15.94 kB / 425.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2834, allocations: 21.72 kB / 425.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2836, allocations: 322.8 kB / 425.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.2836, allocations: 12 kB / 425.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.2837, allocations: 49.14 kB / 425.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.722e-05/0.2838, allocations: 69.02 kB / 426 MB, free: 10.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2838, allocations: 4 kB / 426 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001476/0.2839, allocations: 89.52 kB / 426.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2839, allocations: 7.984 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2839, allocations: 4 kB / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.284, allocations: 0 / 426.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.284, allocations: 12 kB / 426.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2841, allocations: 7.938 kB / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.2841, allocations: 192 / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2841, allocations: 8 kB / 426.1 MB, free: 10.62 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.0001289/0.2842, allocations: 133.7 kB / 426.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2843, allocations: 69.59 kB / 426.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.2845, allocations: 86.41 kB / 426.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2845, allocations: 0 / 426.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2845, allocations: 4 kB / 426.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2845, allocations: 0 / 426.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2847, allocations: 144.6 kB / 426.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.2847, allocations: 4 kB / 426.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.2847, allocations: 4.188 kB / 426.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2847, allocations: 4 kB / 426.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2847, allocations: 4 kB / 426.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2847, allocations: 0 / 426.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2847, allocations: 0 / 426.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2849, allocations: 101 kB / 426.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.2849, allocations: 15.94 kB / 426.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2849, allocations: 4 kB / 426.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.285, allocations: 4 kB / 426.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-06/0.285, allocations: 0 / 426.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.285, allocations: 0 / 426.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.2851, allocations: 111.2 kB / 426.8 MB, free: 9.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2851, allocations: 7.938 kB / 426.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.2853, allocations: 16 kB / 426.8 MB, free: 9.836 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.000726/0.286, allocations: 0.6754 MB / 427.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.2861, allocations: 51.84 kB / 427.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2861, allocations: 3.938 kB / 427.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2861, allocations: 448 / 427.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2864, allocations: 67.16 kB / 427.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2878, allocations: 1.395 MB / 429 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.695e-05/0.2879, allocations: 79.47 kB / 429.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.2879, allocations: 7.984 kB / 429.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.288, allocations: 19.44 kB / 429.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.288, allocations: 0 / 429.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3183, allocations: 2.844 MB / 431.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.47, allocations: 4.062 kB / 431.9 MB, free: 4.691 MB / 334.1 MB " [Timeout remaining time 648] (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.964282264001667]