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.001297/0.001297, allocations: 120.8 kB / 17.74 MB, free: 5.352 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.001262/0.001262, allocations: 182.9 kB / 20.68 MB, free: 2.422 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.517/1.517, allocations: 222.9 MB / 246.4 MB, free: 4.336 MB / 190.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.001512/0.001512, allocations: 51.92 kB / 357.5 MB, free: 8.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 49.43 MB / 406.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002479/0.1188, allocations: 0.8795 MB / 407.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.1195, allocations: 267.1 kB / 408.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.1196, allocations: 4 kB / 408.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.1196, allocations: 3.938 kB / 408.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.12, allocations: 35.78 kB / 408.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1202, allocations: 43.89 kB / 408.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1204, allocations: 51.83 kB / 408.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1205, allocations: 12.17 kB / 408.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.472e-05/0.1205, allocations: 15.94 kB / 408.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1206, allocations: 23.86 kB / 408.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1206, allocations: 4 kB / 408.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.1207, allocations: 27.91 kB / 408.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.1208, allocations: 23.92 kB / 408.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.1209, allocations: 27.8 kB / 408.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1211, allocations: 79.64 kB / 408.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1211, allocations: 0 / 408.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1211, allocations: 0 / 408.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1211, allocations: 0 / 408.4 MB, free: 6.016 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.0006341/0.1217, allocations: 390.9 kB / 408.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1218, allocations: 12.03 kB / 408.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.1219, allocations: 34.73 kB / 408.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1219, allocations: 12.89 kB / 408.9 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.1222, allocations: 200.2 kB / 409.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1222, allocations: 384 / 409.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1223, allocations: 8.375 kB / 409.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1226, allocations: 149.2 kB / 409.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1226, allocations: 0 / 409.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1226, allocations: 4 kB / 409.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1227, allocations: 0 / 409.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.1227, allocations: 16 kB / 409.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1232, allocations: 281.6 kB / 409.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1233, allocations: 54.56 kB / 409.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1234, allocations: 24.95 kB / 409.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1234, allocations: 0 / 409.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.1235, allocations: 30.56 kB / 409.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1235, allocations: 0 / 409.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002328/0.1237, allocations: 85.58 kB / 409.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1238, allocations: 51.41 kB / 409.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.124, allocations: 148.4 kB / 409.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.124, allocations: 29.7 kB / 409.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1241, allocations: 92.08 kB / 410 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1241, allocations: 7.938 kB / 410 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1241, allocations: 21.72 kB / 410 MB, free: 4.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1243, allocations: 322.8 kB / 410.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.1243, allocations: 12 kB / 410.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.1244, allocations: 57.14 kB / 410.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.102e-05/0.1245, allocations: 65.2 kB / 410.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1245, allocations: 8 kB / 410.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000144/0.1246, allocations: 93.5 kB / 410.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1247, allocations: 6.188 kB / 410.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1247, allocations: 0 / 410.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1247, allocations: 4 kB / 410.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.1248, allocations: 12 kB / 410.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1248, allocations: 0 / 410.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.1249, allocations: 4.188 kB / 410.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1249, allocations: 12 kB / 410.6 MB, free: 3.535 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.0001507/0.125, allocations: 130.6 kB / 410.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1252, allocations: 69.59 kB / 410.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.1254, allocations: 74.39 kB / 410.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1254, allocations: 0 / 410.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1254, allocations: 0 / 410.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1254, allocations: 0 / 410.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1255, allocations: 185.5 kB / 411.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.1256, allocations: 7.938 kB / 411.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.1256, allocations: 7.984 kB / 411.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1256, allocations: 144 / 411.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1256, allocations: 3.938 kB / 411.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1256, allocations: 4 kB / 411.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1256, allocations: 3.984 kB / 411.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1258, allocations: 97.02 kB / 411.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.1259, allocations: 93.05 kB / 411.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1259, allocations: 7.984 kB / 411.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.1259, allocations: 4 kB / 411.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.1259, allocations: 0 / 411.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.126, allocations: 0 / 411.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.068e-05/0.1261, allocations: 111.2 kB / 411.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 0 / 411.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.1263, allocations: 19.94 kB / 411.4 MB, free: 2.621 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.0007205/0.127, allocations: 0.6918 MB / 412.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.1272, allocations: 39.92 kB / 412.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1272, allocations: 0 / 412.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1272, allocations: 0 / 412.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1275, allocations: 69.64 kB / 412.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1291, allocations: 1.405 MB / 413.6 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.1295, allocations: 0.7007 MB / 414.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.032e-05/0.1296, allocations: 4 kB / 414.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.1296, allocations: 23.42 kB / 414.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1296, allocations: 0 / 414.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.1566, allocations: 2.252 MB / 416.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.359, allocations: 7.531 kB / 416.6 MB, free: 13.42 MB / 350.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.977731816004962]