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.001751/0.001751, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001946/0.001946, allocations: 197 kB / 21.43 MB, free: 1.609 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.404/1.404, allocations: 225.6 MB / 249.8 MB, free: 3.602 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 47.92 kB / 366.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1004, allocations: 52.14 MB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002213/0.1027, allocations: 0.8859 MB / 419.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005959/0.1033, allocations: 271.1 kB / 419.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.1033, allocations: 0 / 419.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.637e-05/0.1034, allocations: 7.938 kB / 419.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.1037, allocations: 35.78 kB / 419.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1038, allocations: 51.38 kB / 419.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.104, allocations: 39.92 kB / 419.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.104, allocations: 20.16 kB / 419.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.1041, allocations: 19.86 kB / 419.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.1041, allocations: 19.92 kB / 419.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1041, allocations: 4 kB / 419.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.1042, allocations: 23.92 kB / 419.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1043, allocations: 15.92 kB / 419.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.1043, allocations: 35.73 kB / 419.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1045, allocations: 75.7 kB / 420 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1045, allocations: 7.938 kB / 420 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1045, allocations: 0 / 420 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1045, allocations: 0 / 420 MB, free: 11.09 MB / 350.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.0004889/0.105, allocations: 391 kB / 420.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.105, allocations: 8.031 kB / 420.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.404e-05/0.105, allocations: 8.125 kB / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1051, allocations: 38.69 kB / 420.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1051, allocations: 8.891 kB / 420.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1053, allocations: 200.2 kB / 420.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1054, allocations: 384 / 420.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1054, allocations: 4.375 kB / 420.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.1056, allocations: 153.1 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1057, allocations: 0 / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1057, allocations: 8 kB / 420.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1057, allocations: 3.938 kB / 420.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.1057, allocations: 15.98 kB / 420.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.106, allocations: 281.6 kB / 421.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1061, allocations: 46.56 kB / 421.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.1062, allocations: 20.92 kB / 421.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1062, allocations: 0 / 421.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1062, allocations: 34.59 kB / 421.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1062, allocations: 0 / 421.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001843/0.1064, allocations: 81.58 kB / 421.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1064, allocations: 55.41 kB / 421.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1066, allocations: 143.7 kB / 421.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1066, allocations: 25.7 kB / 421.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.1066, allocations: 104.1 kB / 421.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1067, allocations: 3.953 kB / 421.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1067, allocations: 25.7 kB / 421.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1068, allocations: 322.8 kB / 421.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.886e-05/0.1069, allocations: 11.98 kB / 421.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.1069, allocations: 49.14 kB / 422 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.107, allocations: 69.03 kB / 422.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.107, allocations: 0 / 422.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/0.1071, allocations: 97.5 kB / 422.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1071, allocations: 4 kB / 422.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1071, allocations: 0 / 422.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1072, allocations: 4 kB / 422.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.1072, allocations: 15.98 kB / 422.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1072, allocations: 0 / 422.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1073, allocations: 7.938 kB / 422.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1073, allocations: 7.938 kB / 422.2 MB, free: 8.602 MB / 350.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.0001175/0.1074, allocations: 137.9 kB / 422.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.1075, allocations: 69.59 kB / 422.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1077, allocations: 78.52 kB / 422.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1077, allocations: 4 kB / 422.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1077, allocations: 0 / 422.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1077, allocations: 0 / 422.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1078, allocations: 181.5 kB / 422.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1078, allocations: 0 / 422.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.1079, allocations: 4 kB / 422.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1079, allocations: 4 kB / 422.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1079, allocations: 4 kB / 422.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1079, allocations: 7.984 kB / 422.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1079, allocations: 0 / 422.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.108, allocations: 93.02 kB / 422.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.1081, allocations: 89.05 kB / 422.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1081, allocations: 8.188 kB / 422.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.1081, allocations: 0 / 422.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-06/0.1081, allocations: 7.984 kB / 422.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1081, allocations: 3.984 kB / 422.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.1082, allocations: 113.3 kB / 423 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1082, allocations: 0 / 423 MB, free: 7.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.1084, allocations: 20 kB / 423 MB, free: 7.684 MB / 350.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.0006089/0.109, allocations: 0.6799 MB / 423.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1091, allocations: 39.92 kB / 423.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1091, allocations: 0 / 423.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1092, allocations: 0 / 423.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1095, allocations: 80.41 kB / 423.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1107, allocations: 1.395 MB / 425.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.111, allocations: 0.7078 MB / 425.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.1111, allocations: 4 kB / 425.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.1111, allocations: 19.42 kB / 425.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1111, allocations: 0 / 425.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.1297, allocations: 2.321 MB / 428.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/7.852, allocations: 11.67 kB / 428.3 MB, free: 2.441 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 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.mat","/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:const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(uniformNoiseXorshift64star.state64[1]),previous(uniformNoiseXorshift64star.state64[2]),sample1.u,sample1.y,time,uniformNoiseXorshift64star.globalSeed,uniformNoiseXorshift64star.localSeed,uniformNoiseXorshift64star.noiseMax,uniformNoiseXorshift64star.noiseMin,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y [Calling sys.exit(0), Time elapsed: 10.318968890001997]