Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 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.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_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.001862/0.001862, allocations: 112.6 kB / 17.06 MB, free: 6.102 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.003167/0.003167, allocations: 199 kB / 18 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.133/2.133, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4944, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.01092/0.5054, allocations: 1.848 MB / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.5105, allocations: 0.9703 MB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.5111, allocations: 8 kB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.5114, allocations: 19.73 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.5122, allocations: 39.59 kB / 403.1 MB, free: 5.914 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.5138, allocations: 183.5 kB / 403.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009008/0.5148, allocations: 219.5 kB / 403.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.5152, allocations: 64.27 kB / 403.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003613/0.5156, allocations: 95.67 kB / 403.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.5172, allocations: 123.4 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.5174, allocations: 20 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/0.518, allocations: 119.8 kB / 403.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.5183, allocations: 63.81 kB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008319/0.5191, allocations: 95.45 kB / 404.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.5203, allocations: 292.8 kB / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.5204, allocations: 0 / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5204, allocations: 0 / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.5204, allocations: 0 / 404.4 MB, free: 4.66 MB / 318.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.002993/0.5234, allocations: 0.5507 MB / 404.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.945e-05/0.5235, allocations: 8.031 kB / 404.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002097/0.5238, allocations: 62.56 kB / 405 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.5243, allocations: 36.64 kB / 405 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.5251, allocations: 245.1 kB / 405.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.5252, allocations: 19.98 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.5253, allocations: 20 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5264, allocations: 214.2 kB / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.5264, allocations: 0 / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.5265, allocations: 7.984 kB / 405.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.5265, allocations: 4 kB / 405.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009661/0.5275, allocations: 148.2 kB / 405.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.5301, allocations: 0.5863 MB / 406.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.5324, allocations: 298.7 kB / 406.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.5331, allocations: 122.4 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.5332, allocations: 0 / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009609/0.5342, allocations: 171.2 kB / 406.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 5.741e-06/0.5342, allocations: 3.938 kB / 406.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00233/0.5366, allocations: 351.5 kB / 407.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.5368, allocations: 67.33 kB / 407.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006113/0.5374, allocations: 211.7 kB / 407.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.5375, allocations: 37.7 kB / 407.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.5378, allocations: 132.5 kB / 407.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.538, allocations: 75.06 kB / 407.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.5384, allocations: 61.69 kB / 407.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0004667/0.5388, allocations: 338.8 kB / 408.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.5397, allocations: 131.9 kB / 408.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.5405, allocations: 161.9 kB / 408.4 MB, free: 432 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.5419, allocations: 264.6 kB / 408.6 MB, free: 164 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.5419, allocations: 0 / 408.6 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00202/0.544, allocations: 377.1 kB / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.5441, allocations: 10.03 kB / 409 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.5441, allocations: 0 / 409 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/0.5441, allocations: 0 / 409 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.5448, allocations: 71.88 kB / 409.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.5449, allocations: 7.969 kB / 409.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.5453, allocations: 39.73 kB / 409.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.5454, allocations: 15.98 kB / 409.1 MB, free: 15.64 MB / 334.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.000449/0.5458, allocations: 133.8 kB / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.546, allocations: 19.72 kB / 409.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.5463, allocations: 29.86 kB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5464, allocations: 4 kB / 409.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/0.5464, allocations: 3.938 kB / 409.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5464, allocations: 0 / 409.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.5491, allocations: 0.6347 MB / 410 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.5491, allocations: 0 / 410 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.5496, allocations: 43.95 kB / 410 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.5497, allocations: 3.938 kB / 410 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.5497, allocations: 4 kB / 410 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5497, allocations: 0 / 410 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.5498, allocations: 3.938 kB / 410 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.552, allocations: 495.3 kB / 410.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.5523, allocations: 104.8 kB / 410.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/0.5524, allocations: 4 kB / 410.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.5528, allocations: 23.95 kB / 410.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5529, allocations: 15.92 kB / 410.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.553, allocations: 11.98 kB / 410.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003354/0.5533, allocations: 151.2 kB / 410.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5534, allocations: 0 / 410.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008561/0.5542, allocations: 63.94 kB / 410.9 MB, free: 13.81 MB / 334.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.004219/0.5585, allocations: 1.126 MB / 412 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.5603, allocations: 288.8 kB / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5603, allocations: 4.062 kB / 412.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006495/0.561, allocations: 111.9 kB / 412.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.5617, allocations: 20 kB / 412.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.5728, allocations: 2.79 MB / 415.2 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.5739, allocations: 0.7437 MB / 415.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.5743, allocations: 29.94 kB / 416 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.5746, allocations: 67.41 kB / 416 MB, free: 8.531 MB / 334.1 MB Notification: Performance of SimCode: time 1.924e-06/0.5747, allocations: 3.938 kB / 416 MB, free: 8.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.221/1.796, allocations: 5.422 MB / 421.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.88/28.67, allocations: 16.03 kB / 421.5 MB, free: 3.207 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches