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.001258/0.001263, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 69.2 kB / 306.4 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1015, allocations: 50.53 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002982/0.1046, allocations: 0.929 MB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.1053, allocations: 251.2 kB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.1054, allocations: 7.875 kB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.594e-05/0.1055, allocations: 3.984 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1056, allocations: 7.938 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1061, allocations: 83.86 kB / 358.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1062, allocations: 47.84 kB / 358.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1063, allocations: 15.98 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.1064, allocations: 23.86 kB / 358.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.1064, allocations: 23.84 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1065, allocations: 4 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1066, allocations: 39.97 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.1067, allocations: 19.92 kB / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.1067, allocations: 27.8 kB / 358.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1069, allocations: 87.69 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1069, allocations: 4 kB / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1069, allocations: 0 / 358.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1069, allocations: 0 / 358.5 MB, free: 12.63 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.0006621/0.1076, allocations: 389.6 kB / 358.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.1077, allocations: 12.03 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.1077, allocations: 34.75 kB / 358.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1078, allocations: 8.844 kB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1081, allocations: 204 kB / 359.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1081, allocations: 4.375 kB / 359.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1081, allocations: 8.375 kB / 359.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.1084, allocations: 153.5 kB / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1085, allocations: 3.938 kB / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1085, allocations: 0 / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1085, allocations: 0 / 359.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.1086, allocations: 23.97 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1089, allocations: 281.7 kB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.109, allocations: 38.58 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.1091, allocations: 24.89 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/0.1098, allocations: 0.5856 MB / 360.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1098, allocations: 30.56 kB / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1098, allocations: 0 / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002196/0.1101, allocations: 97.44 kB / 360.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1101, allocations: 51.41 kB / 360.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1103, allocations: 161.3 kB / 360.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1103, allocations: 25.7 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.1104, allocations: 96.12 kB / 360.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1104, allocations: 3.906 kB / 360.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1104, allocations: 25.72 kB / 360.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1106, allocations: 322.8 kB / 361 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.1106, allocations: 19.98 kB / 361 MB, free: 9.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.1107, allocations: 69.94 kB / 361.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.1108, allocations: 73.94 kB / 361.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1108, allocations: 0 / 361.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001525/0.1109, allocations: 117.4 kB / 361.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.111, allocations: 8 kB / 361.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.111, allocations: 3.938 kB / 361.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.111, allocations: 4 kB / 361.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.1111, allocations: 16.22 kB / 361.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1111, allocations: 7.984 kB / 361.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.1111, allocations: 3.938 kB / 361.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1112, allocations: 7.938 kB / 361.3 MB, free: 9.348 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.0001272/0.1113, allocations: 133.7 kB / 361.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1114, allocations: 73.58 kB / 361.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1116, allocations: 82.3 kB / 361.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1116, allocations: 0 / 361.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1116, allocations: 7.938 kB / 361.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1116, allocations: 0 / 361.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.1117, allocations: 185.6 kB / 361.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1118, allocations: 0 / 361.8 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.1118, allocations: 4 kB / 361.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1118, allocations: 0 / 361.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1118, allocations: 4 kB / 361.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1118, allocations: 0 / 361.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1118, allocations: 0 / 361.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.112, allocations: 109.2 kB / 361.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/0.112, allocations: 93.12 kB / 362 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1121, allocations: 8 kB / 362 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.35e-05/0.1121, allocations: 3.938 kB / 362 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-06/0.1121, allocations: 0 / 362 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1121, allocations: 4 kB / 362 MB, free: 8.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.722e-05/0.1122, allocations: 119.2 kB / 362.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1122, allocations: 0 / 362.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1124, allocations: 16 kB / 362.2 MB, free: 8.414 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.0004934/0.1129, allocations: 0.6785 MB / 362.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1131, allocations: 51.95 kB / 362.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1131, allocations: 0 / 362.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.1131, allocations: 448 / 362.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1135, allocations: 90 kB / 363 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008284/0.1143, allocations: 0.6169 MB / 363.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1146, allocations: 0.7043 MB / 364.3 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.1146, allocations: 8.672 kB / 364.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.1147, allocations: 23.42 kB / 364.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1147, allocations: 0 / 364.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.1271, allocations: 2.365 MB / 366.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.1274, allocations: 213.6 kB / 366.9 MB, free: 3.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.003, allocations: 3.5 kB / 366.9 MB, free: 3.594 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