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.001451/0.001451, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001484/0.001484, allocations: 205.9 kB / 23.73 MB, free: 4.492 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001662/0.001662, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2766, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002442/0.2791, allocations: 0.8855 MB / 432 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.2798, allocations: 259.2 kB / 432.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.2799, allocations: 7.938 kB / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.2799, allocations: 3.938 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.2803, allocations: 27.84 kB / 432.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2805, allocations: 47.89 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2806, allocations: 43.86 kB / 432.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2807, allocations: 24.03 kB / 432.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.2808, allocations: 19.92 kB / 432.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.2808, allocations: 19.86 kB / 432.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.2809, allocations: 4 kB / 432.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.2809, allocations: 19.98 kB / 432.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.281, allocations: 19.97 kB / 432.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.281, allocations: 19.81 kB / 432.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2812, allocations: 81.33 kB / 432.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2812, allocations: 8 kB / 432.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2812, allocations: 0 / 432.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2812, allocations: 0 / 432.6 MB, free: 5.184 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.0005237/0.2818, allocations: 313.9 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2818, allocations: 8.031 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.2819, allocations: 34.75 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.2819, allocations: 12.84 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.2822, allocations: 142.3 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-06/0.2822, allocations: 384 / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2822, allocations: 8.375 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.2825, allocations: 149.2 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2825, allocations: 0 / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2825, allocations: 0 / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2825, allocations: 4 kB / 433.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.162e-05/0.2826, allocations: 15.94 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.2829, allocations: 240.8 kB / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.283, allocations: 50.56 kB / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.2831, allocations: 20.92 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2831, allocations: 0 / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2831, allocations: 38.59 kB / 433.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.2831, allocations: 3.938 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002458/0.2834, allocations: 73.64 kB / 433.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2835, allocations: 55.41 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2836, allocations: 149.8 kB / 433.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.2836, allocations: 25.7 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.2837, allocations: 88.14 kB / 434 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2837, allocations: 4 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2837, allocations: 37.59 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2839, allocations: 318.8 kB / 434.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.2839, allocations: 15.98 kB / 434.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.284, allocations: 53.08 kB / 434.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.2841, allocations: 61.03 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2841, allocations: 4.188 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000153/0.2842, allocations: 97.55 kB / 434.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2842, allocations: 4 kB / 434.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2843, allocations: 4 kB / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2843, allocations: 0 / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.2844, allocations: 15.98 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2844, allocations: 12.08 kB / 434.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.2844, allocations: 3.953 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2844, allocations: 4.188 kB / 434.6 MB, free: 2.914 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.0001349/0.2846, allocations: 133.8 kB / 434.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2847, allocations: 65.64 kB / 434.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.2848, allocations: 78.33 kB / 434.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2848, allocations: 4 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2848, allocations: 0 / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2848, allocations: 0 / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.285, allocations: 144.6 kB / 435 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.285, allocations: 4.141 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.285, allocations: 4 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.2851, allocations: 7.984 kB / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.2851, allocations: 0 / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2851, allocations: 0 / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2851, allocations: 0 / 435 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.2852, allocations: 104.9 kB / 435.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.2853, allocations: 19.94 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.2853, allocations: 7.984 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.2853, allocations: 0 / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-06/0.2853, allocations: 0 / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2853, allocations: 3.938 kB / 435.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.809e-05/0.2854, allocations: 118 kB / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2854, allocations: 0 / 435.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.2857, allocations: 20 kB / 435.3 MB, free: 2.129 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.000785/0.2865, allocations: 0.6747 MB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.2866, allocations: 39.92 kB / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2866, allocations: 0 / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.2866, allocations: 3.938 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.287, allocations: 66.12 kB / 436.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.2885, allocations: 1.397 MB / 437.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.395e-05/0.2886, allocations: 83.38 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.029e-05/0.2887, allocations: 4 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.2887, allocations: 27.36 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2887, allocations: 0 / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.3198, allocations: 2.831 MB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.22, allocations: 11.45 kB / 440.4 MB, free: 12.99 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.767645032610744]