Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 104.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 52.36 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1115, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003117/0.1147, allocations: 0.8719 MB / 351 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.1154, allocations: 251.1 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1155, allocations: 4 kB / 351.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.364e-05/0.1156, allocations: 7.875 kB / 351.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1158, allocations: 15.92 kB / 351.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.1164, allocations: 95.72 kB / 351.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1165, allocations: 55.78 kB / 351.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1166, allocations: 15.98 kB / 351.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.1167, allocations: 11.94 kB / 351.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.1168, allocations: 27.86 kB / 351.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1168, allocations: 7.938 kB / 351.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.117, allocations: 35.95 kB / 351.6 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.117, allocations: 31.91 kB / 351.6 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.1171, allocations: 23.81 kB / 351.6 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1173, allocations: 87.69 kB / 351.7 MB, free: 2.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1174, allocations: 3.984 kB / 351.7 MB, free: 2.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1174, allocations: 0 / 351.7 MB, free: 2.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1174, allocations: 0 / 351.7 MB, free: 2.777 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005975/0.118, allocations: 391.3 kB / 352.1 MB, free: 2.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.118, allocations: 8.031 kB / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.1181, allocations: 42.67 kB / 352.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1181, allocations: 8.844 kB / 352.1 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1184, allocations: 196.1 kB / 352.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1184, allocations: 4.375 kB / 352.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1184, allocations: 8.359 kB / 352.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1188, allocations: 157.4 kB / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1188, allocations: 3.938 kB / 352.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1188, allocations: 0 / 352.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.1188, allocations: 4 kB / 352.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.1189, allocations: 16 kB / 352.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1192, allocations: 273.7 kB / 352.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.1193, allocations: 46.56 kB / 352.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1194, allocations: 24.86 kB / 352.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/0.1201, allocations: 0.5779 MB / 353.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1202, allocations: 34.56 kB / 353.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.1202, allocations: 0 / 353.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002238/0.1204, allocations: 89.52 kB / 353.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1205, allocations: 63.31 kB / 353.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1206, allocations: 145 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1207, allocations: 29.7 kB / 353.8 MB, free: 344 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.1207, allocations: 88.14 kB / 353.9 MB, free: 252 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1207, allocations: 11.91 kB / 353.9 MB, free: 240 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.1208, allocations: 25.7 kB / 353.9 MB, free: 208 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1209, allocations: 322.8 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.121, allocations: 19.98 kB / 354.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.121, allocations: 69.86 kB / 354.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.1211, allocations: 77.94 kB / 354.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1211, allocations: 8 kB / 354.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001584/0.1213, allocations: 117.3 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1213, allocations: 4 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1213, allocations: 4 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1214, allocations: 0 / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.1215, allocations: 19.98 kB / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1215, allocations: 0 / 354.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1215, allocations: 11.94 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.1215, allocations: 7.938 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001219/0.1217, allocations: 138 kB / 354.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.1218, allocations: 65.59 kB / 354.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.122, allocations: 94.3 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.122, allocations: 4 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.122, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.122, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1221, allocations: 173.6 kB / 355 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.1221, allocations: 4 kB / 355 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.1222, allocations: 8 kB / 355 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1222, allocations: 0 / 355 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1222, allocations: 3.984 kB / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1222, allocations: 0 / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1222, allocations: 0 / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1224, allocations: 101.2 kB / 355.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.1224, allocations: 100.9 kB / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1225, allocations: 3.984 kB / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.1225, allocations: 8 kB / 355.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.1225, allocations: 3.938 kB / 355.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1225, allocations: 0 / 355.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.456e-05/0.1226, allocations: 119.2 kB / 355.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1226, allocations: 0 / 355.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1229, allocations: 16 kB / 355.4 MB, free: 14.56 MB / 302.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0005719/0.1235, allocations: 0.6788 MB / 356.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1236, allocations: 55.86 kB / 356.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1236, allocations: 0 / 356.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1237, allocations: 0 / 356.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.1241, allocations: 89.62 kB / 356.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.1251, allocations: 0.6189 MB / 356.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1254, allocations: 0.6963 MB / 357.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.1254, allocations: 8.656 kB / 357.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1255, allocations: 19.44 kB / 357.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1255, allocations: 0 / 357.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.151, allocations: 2.527 MB / 360.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.157, allocations: 7.984 kB / 360.1 MB, free: 9.828 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y