Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.001298/0.001298, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.001323/0.001323, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08306, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002683/0.08578, allocations: 1.906 MB / 328.6 MB, free: 2.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.08723, allocations: 1.01 MB / 329.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.08732, allocations: 0 / 329.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.08744, allocations: 11.86 kB / 329.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.08759, allocations: 19.8 kB / 329.6 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.08803, allocations: 163.7 kB / 329.8 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.08822, allocations: 211.5 kB / 330 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.08837, allocations: 60.05 kB / 330.1 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.08847, allocations: 91.56 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.08859, allocations: 107.6 kB / 330.3 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.08864, allocations: 15.94 kB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.08887, allocations: 131.8 kB / 330.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.08894, allocations: 43.83 kB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.08904, allocations: 107.4 kB / 330.6 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.08934, allocations: 287.4 kB / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.08936, allocations: 0 / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.08936, allocations: 0 / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.08937, allocations: 0 / 330.8 MB, free: 0.6211 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001047/0.09043, allocations: 0.5545 MB / 331.4 MB, free: 20 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.09047, allocations: 8.031 kB / 331.4 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.841e-05/0.09056, allocations: 54.73 kB / 331.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.09076, allocations: 36.64 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.09099, allocations: 240.7 kB / 331.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.09102, allocations: 16.38 kB / 331.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.09107, allocations: 24.28 kB / 331.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.09154, allocations: 206.5 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.09156, allocations: 3.938 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.09159, allocations: 8 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.0916, allocations: 4 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.09205, allocations: 160.1 kB / 332.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009229/0.09298, allocations: 0.5709 MB / 332.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.094, allocations: 310.5 kB / 333 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.0943, allocations: 120.8 kB / 333.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.09434, allocations: 4.062 kB / 333.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.09473, allocations: 167.2 kB / 333.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.09474, allocations: 0 / 333.3 MB, free: 13.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009664/0.09571, allocations: 349.1 kB / 333.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.09577, allocations: 67.39 kB / 333.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.09597, allocations: 211.8 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.09601, allocations: 33.7 kB / 333.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.0961, allocations: 128.5 kB / 334.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.09616, allocations: 82.89 kB / 334.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.09627, allocations: 65.69 kB / 334.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.09639, allocations: 334.8 kB / 334.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.09674, allocations: 131.9 kB / 334.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.09709, allocations: 165.3 kB / 334.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.09769, allocations: 279.8 kB / 335.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0977, allocations: 3.938 kB / 335.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007585/0.09847, allocations: 381.1 kB / 335.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.09849, allocations: 7.125 kB / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.0985, allocations: 0 / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.09852, allocations: 4 kB / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.09883, allocations: 67.88 kB / 335.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.09884, allocations: 0 / 335.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.09902, allocations: 47.69 kB / 335.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.09905, allocations: 12 kB / 335.6 MB, free: 11.59 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.000151/0.09921, allocations: 149.7 kB / 335.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.09925, allocations: 15.81 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.507e-05/0.09932, allocations: 21.88 kB / 335.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.09933, allocations: 0 / 335.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.09935, allocations: 4 kB / 335.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.09936, allocations: 3.984 kB / 335.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.1004, allocations: 0.6385 MB / 336.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1005, allocations: 4 kB / 336.4 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1007, allocations: 39.95 kB / 336.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1007, allocations: 0 / 336.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.1008, allocations: 4 kB / 336.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1008, allocations: 3.984 kB / 336.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1008, allocations: 0 / 336.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/0.1017, allocations: 495.9 kB / 337 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.1018, allocations: 100.9 kB / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.1018, allocations: 7.984 kB / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.102, allocations: 19.98 kB / 337.1 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.1021, allocations: 11.97 kB / 337.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1021, allocations: 12 kB / 337.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1022, allocations: 151.1 kB / 337.3 MB, free: 9.828 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1022, allocations: 0 / 337.3 MB, free: 9.828 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.1026, allocations: 75.83 kB / 337.3 MB, free: 9.754 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001463/0.1041, allocations: 1.136 MB / 338.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.1047, allocations: 283.7 kB / 338.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1048, allocations: 0 / 338.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1051, allocations: 115.9 kB / 338.9 MB, free: 8.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1054, allocations: 19.98 kB / 338.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.109, allocations: 2.867 MB / 341.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1093, allocations: 0.7436 MB / 342.5 MB, free: 4.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1094, allocations: 33.94 kB / 342.5 MB, free: 4.434 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.1095, allocations: 67.41 kB / 342.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1095, allocations: 0 / 342.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.1245, allocations: 5.163 MB / 347.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.1247, allocations: 253.6 kB / 348 MB, free: 14.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.903, allocations: 0 / 348 MB, free: 14.91 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches