Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008966/0.0008966, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002104/0.0002105, allocations: 8 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09499, allocations: 51.53 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001081/0.09611, allocations: 0.6018 MB / 360 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.09666, allocations: 239.3 kB / 360.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.09675, allocations: 4 kB / 360.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.09678, allocations: 7.938 kB / 360.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.0969, allocations: 3.984 kB / 360.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.09726, allocations: 83.8 kB / 360.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.09737, allocations: 47.84 kB / 360.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.09746, allocations: 11.98 kB / 360.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.09749, allocations: 19.91 kB / 360.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.09757, allocations: 27.8 kB / 360.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.0976, allocations: 4 kB / 360.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.0977, allocations: 39.97 kB / 360.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.09776, allocations: 15.92 kB / 360.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.09782, allocations: 53.52 kB / 360.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.09795, allocations: 91.59 kB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.09796, allocations: 0 / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09797, allocations: 0 / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09798, allocations: 0 / 360.6 MB, free: 11.93 MB / 302.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.0004265/0.09841, allocations: 379.5 kB / 361 MB, free: 11.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.09846, allocations: 8.031 kB / 361 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.0985, allocations: 38.75 kB / 361 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.09854, allocations: 8.844 kB / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.09873, allocations: 194.3 kB / 361.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.09875, allocations: 8.312 kB / 361.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.09877, allocations: 384 / 361.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.09905, allocations: 153.6 kB / 361.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.09907, allocations: 7.875 kB / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.09908, allocations: 0 / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.0991, allocations: 3.984 kB / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.09915, allocations: 23.92 kB / 361.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.09943, allocations: 277.6 kB / 361.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.036e-05/0.09952, allocations: 46.52 kB / 361.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.09958, allocations: 28.89 kB / 361.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/0.1001, allocations: 0.5778 MB / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1002, allocations: 38.56 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1002, allocations: 0 / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001778/0.1004, allocations: 85.66 kB / 362.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.1004, allocations: 55.41 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1005, allocations: 149.8 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1006, allocations: 25.7 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1006, allocations: 92.12 kB / 362.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1006, allocations: 11.84 kB / 362.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1007, allocations: 17.72 kB / 362.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.1008, allocations: 326.8 kB / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.1008, allocations: 19.98 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.1009, allocations: 65.94 kB / 363.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.523e-05/0.1009, allocations: 77.88 kB / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.101, allocations: 0 / 363.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001473/0.1011, allocations: 117.6 kB / 363.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1011, allocations: 8 kB / 363.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1011, allocations: 3.938 kB / 363.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1012, allocations: 4 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.1012, allocations: 12 kB / 363.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1012, allocations: 7.938 kB / 363.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.1013, allocations: 7.922 kB / 363.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1013, allocations: 7.938 kB / 363.4 MB, free: 8.672 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 9.532e-05/0.1014, allocations: 137.3 kB / 363.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.1015, allocations: 77.8 kB / 363.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.1016, allocations: 86.23 kB / 363.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.1017, allocations: 4 kB / 363.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1017, allocations: 0 / 363.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1017, allocations: 0 / 363.7 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1018, allocations: 177.6 kB / 363.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.1018, allocations: 4 kB / 363.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.1019, allocations: 4 kB / 363.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1019, allocations: 4 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1019, allocations: 4 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1019, allocations: 0 / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1019, allocations: 0 / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.102, allocations: 108.9 kB / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1021, allocations: 92.94 kB / 364.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1021, allocations: 8 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.1021, allocations: 0 / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.1021, allocations: 0 / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1022, allocations: 8 kB / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.1022, allocations: 122.6 kB / 364.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1022, allocations: 0 / 364.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.1025, allocations: 16 kB / 364.3 MB, free: 7.734 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.0004489/0.1029, allocations: 0.6709 MB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.103, allocations: 55.95 kB / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.103, allocations: 0 / 365 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.103, allocations: 4 kB / 365 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1034, allocations: 78.06 kB / 365.1 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.1041, allocations: 0.6213 MB / 365.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1044, allocations: 0.7004 MB / 366.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.745e-05/0.1044, allocations: 4.672 kB / 366.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.1044, allocations: 23.42 kB / 366.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1045, allocations: 0 / 366.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.1157, allocations: 2.296 MB / 368.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.116, allocations: 220.6 kB / 368.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.837, allocations: 3.938 kB / 368.9 MB, free: 3.02 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches