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.00124/0.00124, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4055, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002953/0.4085, allocations: 0.8706 MB / 409.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000764/0.4093, allocations: 255.1 kB / 409.9 MB, free: 404 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.4095, allocations: 0 / 409.9 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.4096, allocations: 3.938 kB / 409.9 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.4098, allocations: 11.92 kB / 409.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.4104, allocations: 99.23 kB / 410 MB, free: 292 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.4106, allocations: 47.83 kB / 410 MB, free: 244 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4107, allocations: 16 kB / 410.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.4108, allocations: 15.92 kB / 410.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.4109, allocations: 27.86 kB / 410.1 MB, free: 184 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.4109, allocations: 4 kB / 410.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.411, allocations: 43.89 kB / 410.1 MB, free: 136 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.4111, allocations: 23.91 kB / 410.2 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.4111, allocations: 23.81 kB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.4114, allocations: 91.77 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.4114, allocations: 4 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4114, allocations: 3.938 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4114, allocations: 4 kB / 410.3 MB, free: 15.98 MB / 334.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.0006428/0.4121, allocations: 380.8 kB / 410.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4121, allocations: 12.03 kB / 410.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4122, allocations: 34.75 kB / 410.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.4122, allocations: 12.75 kB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.4126, allocations: 204 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4126, allocations: 4.375 kB / 410.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.4126, allocations: 8.359 kB / 410.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.413, allocations: 153.5 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.413, allocations: 3.938 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.413, allocations: 0 / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.4131, allocations: 0 / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.4131, allocations: 16 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.4135, allocations: 285.6 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4137, allocations: 42.56 kB / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.4137, allocations: 20.86 kB / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.4146, allocations: 0.5857 MB / 412 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4147, allocations: 30.56 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 4.138e-06/0.4147, allocations: 3.984 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003185/0.415, allocations: 89.52 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.4151, allocations: 55.41 kB / 412.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.4154, allocations: 152.8 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4154, allocations: 29.7 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.4155, allocations: 92.14 kB / 412.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.4155, allocations: 7.844 kB / 412.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.4156, allocations: 29.7 kB / 412.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.4158, allocations: 322.8 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.4159, allocations: 19.98 kB / 412.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.416, allocations: 70.22 kB / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.4161, allocations: 81.88 kB / 413 MB, free: 12.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4162, allocations: 0 / 413 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.4164, allocations: 105.6 kB / 413.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.4164, allocations: 10.97 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4164, allocations: 3.938 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.4165, allocations: 4 kB / 413.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4166, allocations: 20.14 kB / 413.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.4166, allocations: 11.98 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.4167, allocations: 7.906 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.4168, allocations: 7.938 kB / 413.2 MB, free: 12.7 MB / 334.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.0002203/0.417, allocations: 129.8 kB / 413.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4171, allocations: 77.59 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4174, allocations: 82.33 kB / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4174, allocations: 0 / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4174, allocations: 0 / 413.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.4174, allocations: 8 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.4176, allocations: 177.6 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4176, allocations: 0 / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.4177, allocations: 7.938 kB / 413.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4177, allocations: 7.938 kB / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4177, allocations: 3.984 kB / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4177, allocations: 0 / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4177, allocations: 0 / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4179, allocations: 104.9 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.418, allocations: 97 kB / 413.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.4181, allocations: 3.984 kB / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.4181, allocations: 0 / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-06/0.4181, allocations: 0 / 413.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4182, allocations: 4 kB / 413.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4183, allocations: 119.2 kB / 414 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4183, allocations: 0 / 414 MB, free: 11.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.4186, allocations: 16 kB / 414 MB, free: 11.76 MB / 334.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.0009876/0.4196, allocations: 0.671 MB / 414.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.4198, allocations: 51.91 kB / 414.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4198, allocations: 0 / 414.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4198, allocations: 0 / 414.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.4204, allocations: 104.3 kB / 414.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.4228, allocations: 1.459 MB / 416.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.4232, allocations: 0.7002 MB / 417 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.644e-05/0.4232, allocations: 5.094 kB / 417 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.4233, allocations: 23.42 kB / 417 MB, free: 8.57 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4233, allocations: 4 kB / 417 MB, free: 8.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.4471, allocations: 2.625 MB / 419.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.541, allocations: 4.062 kB / 419.6 MB, free: 6.047 MB / 334.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