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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.00273/0.3221, allocations: 0.8847 MB / 432 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007863/0.3229, allocations: 263.1 kB / 432.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.323, allocations: 3.938 kB / 432.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.988e-05/0.3231, allocations: 7.938 kB / 432.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.3235, allocations: 35.83 kB / 432.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3238, allocations: 43.89 kB / 432.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3239, allocations: 35.92 kB / 432.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.324, allocations: 20.11 kB / 432.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.3241, allocations: 15.88 kB / 432.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.3242, allocations: 27.91 kB / 432.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3242, allocations: 4 kB / 432.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.642e-05/0.3243, allocations: 23.97 kB / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3243, allocations: 19.92 kB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3244, allocations: 19.81 kB / 432.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3246, allocations: 81.33 kB / 432.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3246, allocations: 0 / 432.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3246, allocations: 0 / 432.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3246, allocations: 0 / 432.6 MB, free: 4.973 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.0005804/0.3252, allocations: 317.8 kB / 432.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3253, allocations: 19.98 kB / 433 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.3253, allocations: 30.75 kB / 433 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3254, allocations: 12.84 kB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3257, allocations: 134.4 kB / 433.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3257, allocations: 8.375 kB / 433.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3257, allocations: 384 / 433.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.326, allocations: 157.1 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.326, allocations: 4 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.326, allocations: 0 / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.326, allocations: 0 / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.3261, allocations: 23.94 kB / 433.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3265, allocations: 240.8 kB / 433.6 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3266, allocations: 46.56 kB / 433.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.3266, allocations: 16.92 kB / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3266, allocations: 0 / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3267, allocations: 34.56 kB / 433.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3267, allocations: 4 kB / 433.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002492/0.3269, allocations: 85.61 kB / 433.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.327, allocations: 55.41 kB / 433.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3271, allocations: 148.5 kB / 433.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3271, allocations: 25.7 kB / 434 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.3272, allocations: 88.12 kB / 434 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.3272, allocations: 4 kB / 434 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3272, allocations: 25.67 kB / 434.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3274, allocations: 322.8 kB / 434.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.3274, allocations: 15.98 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.3275, allocations: 53.09 kB / 434.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.3276, allocations: 65.08 kB / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3276, allocations: 0 / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001373/0.3277, allocations: 89.55 kB / 434.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3277, allocations: 8.188 kB / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3277, allocations: 0 / 434.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3277, allocations: 7.938 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.3278, allocations: 15.98 kB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3278, allocations: 3.938 kB / 434.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.3279, allocations: 11.95 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3279, allocations: 4 kB / 434.7 MB, free: 2.695 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.0001195/0.328, allocations: 129.3 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.3281, allocations: 65.64 kB / 434.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.3282, allocations: 82.28 kB / 434.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3282, allocations: 7.984 kB / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3283, allocations: 192 / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3283, allocations: 4 kB / 434.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.3284, allocations: 140.6 kB / 435.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3284, allocations: 3.984 kB / 435.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.3284, allocations: 4 kB / 435.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3284, allocations: 4.141 kB / 435.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3284, allocations: 4 kB / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3284, allocations: 0 / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3284, allocations: 0 / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.3286, allocations: 104.9 kB / 435.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3286, allocations: 19.94 kB / 435.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3286, allocations: 4 kB / 435.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.3287, allocations: 7.984 kB / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.3287, allocations: 0 / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3287, allocations: 0 / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.3288, allocations: 110 kB / 435.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3288, allocations: 0 / 435.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000221/0.329, allocations: 19.98 kB / 435.4 MB, free: 1.918 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.0006965/0.3297, allocations: 0.6845 MB / 436 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3298, allocations: 39.92 kB / 436.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3298, allocations: 0 / 436.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.3298, allocations: 3.938 kB / 436.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3301, allocations: 65.69 kB / 436.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3315, allocations: 1.384 MB / 437.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.89e-05/0.3316, allocations: 95.75 kB / 437.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.3317, allocations: 8.062 kB / 437.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.3317, allocations: 19.42 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3317, allocations: 0 / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.3626, allocations: 2.834 MB / 440.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.23, allocations: 5.469 kB / 440.5 MB, free: 12.75 MB / 350.1 MB " [Timeout remaining time 649] (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.000197981 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] 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) [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.766673517879099]