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.00224/0.00224, allocations: 107 kB / 16.92 MB, free: 5.895 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.003018/0.003018, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.593/1.593, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 43.62 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1686, allocations: 49.45 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003281/0.172, allocations: 0.8705 MB / 351 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.173, allocations: 251.1 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1732, allocations: 7.938 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/0.1734, allocations: 7.922 kB / 351.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1737, allocations: 3.938 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.1745, allocations: 107.7 kB / 351.4 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.1748, allocations: 43.86 kB / 351.5 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.175, allocations: 19.97 kB / 351.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.1751, allocations: 15.92 kB / 351.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1752, allocations: 27.86 kB / 351.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1753, allocations: 0 / 351.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1754, allocations: 35.97 kB / 351.6 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1756, allocations: 23.91 kB / 351.6 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.1756, allocations: 31.81 kB / 351.6 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.1759, allocations: 91.69 kB / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.176, allocations: 0 / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.176, allocations: 0 / 351.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.176, allocations: 0 / 351.7 MB, free: 2.812 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.0007862/0.1768, allocations: 397.8 kB / 352.1 MB, free: 2.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.332e-05/0.1769, allocations: 8.031 kB / 352.1 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.313e-05/0.177, allocations: 38.75 kB / 352.1 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.177, allocations: 8.844 kB / 352.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1774, allocations: 200.1 kB / 352.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1774, allocations: 4.375 kB / 352.3 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1774, allocations: 8.375 kB / 352.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.1778, allocations: 153.4 kB / 352.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1778, allocations: 3.938 kB / 352.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1778, allocations: 4 kB / 352.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1778, allocations: 0 / 352.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.1779, allocations: 23.92 kB / 352.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1783, allocations: 273.7 kB / 352.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/0.1784, allocations: 38.58 kB / 352.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.1785, allocations: 32.89 kB / 352.9 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008611/0.1794, allocations: 0.5817 MB / 353.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1794, allocations: 34.5 kB / 353.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1794, allocations: 3.938 kB / 353.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002558/0.1797, allocations: 89.66 kB / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.1798, allocations: 59.31 kB / 353.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1799, allocations: 145.8 kB / 353.8 MB, free: 400 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1799, allocations: 25.7 kB / 353.8 MB, free: 368 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.18, allocations: 96.12 kB / 353.9 MB, free: 268 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.18, allocations: 3.906 kB / 353.9 MB, free: 264 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1801, allocations: 25.72 kB / 353.9 MB, free: 232 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1802, allocations: 322.8 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.1803, allocations: 31.92 kB / 354.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.1804, allocations: 58 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.739e-05/0.1805, allocations: 77.94 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1805, allocations: 7.938 kB / 354.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.1806, allocations: 113.4 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1807, allocations: 8.219 kB / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1807, allocations: 0 / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1807, allocations: 4 kB / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.1808, allocations: 16 kB / 354.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1808, allocations: 3.984 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1809, allocations: 7.938 kB / 354.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1809, allocations: 11.88 kB / 354.6 MB, free: 15.52 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.0001358/0.181, allocations: 129.8 kB / 354.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1811, allocations: 65.59 kB / 354.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.1814, allocations: 90.23 kB / 354.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1814, allocations: 144 / 354.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.1814, allocations: 4 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1814, allocations: 3.984 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1816, allocations: 177.6 kB / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.1816, allocations: 4 kB / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.1816, allocations: 4 kB / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1817, allocations: 0 / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1817, allocations: 0 / 355 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1817, allocations: 4 kB / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1817, allocations: 0 / 355 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1819, allocations: 105.1 kB / 355.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.182, allocations: 96.94 kB / 355.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.182, allocations: 7.938 kB / 355.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.1821, allocations: 0 / 355.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-06/0.1821, allocations: 4 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1821, allocations: 4 kB / 355.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1822, allocations: 124.7 kB / 355.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1822, allocations: 0 / 355.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1825, allocations: 16 kB / 355.4 MB, free: 14.59 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.0007817/0.1833, allocations: 0.6708 MB / 356.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1835, allocations: 63.95 kB / 356.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1835, allocations: 0 / 356.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1835, allocations: 0 / 356.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.184, allocations: 85.88 kB / 356.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1852, allocations: 0.6072 MB / 356.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.1857, allocations: 0.708 MB / 357.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.116e-05/0.1858, allocations: 4.672 kB / 357.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1858, allocations: 19.42 kB / 357.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1858, allocations: 0 / 357.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.2103, allocations: 2.528 MB / 360.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.188, allocations: 14.7 kB / 360.1 MB, free: 9.859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches