Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.001297, allocations: 100.1 kB / 17.58 MB, free: 5.422 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.001182/0.001182, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.397/1.397, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001176/0.001176, allocations: 56.14 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08566/0.08685, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002662/0.08956, allocations: 1.476 MB / 328.9 MB, free: 2.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.09067, allocations: 0.5584 MB / 329.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.09073, allocations: 0 / 329.4 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.23e-05/0.09084, allocations: 7.875 kB / 329.4 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.09091, allocations: 19.8 kB / 329.4 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.09144, allocations: 155.5 kB / 329.6 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.09157, allocations: 111.7 kB / 329.7 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.09163, allocations: 13.12 kB / 329.7 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.0917, allocations: 51.83 kB / 329.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.09177, allocations: 59.75 kB / 329.8 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.0918, allocations: 8 kB / 329.8 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.09203, allocations: 123.8 kB / 330 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.0921, allocations: 39.83 kB / 330 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.09217, allocations: 51.67 kB / 330 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.09245, allocations: 219.6 kB / 330.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09247, allocations: 0 / 330.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09247, allocations: 0 / 330.3 MB, free: 1.469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.09248, allocations: 0 / 330.3 MB, free: 1.469 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006237/0.09311, allocations: 458.8 kB / 330.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.09316, allocations: 8.031 kB / 330.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.09322, allocations: 42.73 kB / 330.8 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.09355, allocations: 44.59 kB / 330.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.09372, allocations: 204 kB / 331 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.09375, allocations: 8.359 kB / 331 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.09378, allocations: 8.375 kB / 331 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.09401, allocations: 115.9 kB / 331.1 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.09403, allocations: 3.938 kB / 331.1 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.09404, allocations: 0 / 331.1 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09405, allocations: 0 / 331.1 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.09423, allocations: 63.89 kB / 331.2 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.0949, allocations: 456.7 kB / 331.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.09522, allocations: 121.2 kB / 331.8 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.09534, allocations: 61.75 kB / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.09536, allocations: 0 / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.09566, allocations: 145 kB / 332 MB, free: 15.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.09567, allocations: 3.938 kB / 332 MB, free: 15.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004993/0.09618, allocations: 233.4 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.09625, allocations: 97.03 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.09641, allocations: 170.4 kB / 332.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.09646, allocations: 45.69 kB / 332.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.09653, allocations: 108.5 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.09658, allocations: 39.55 kB / 332.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.09666, allocations: 57.92 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.09678, allocations: 334.8 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.09698, allocations: 100.5 kB / 333.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.09718, allocations: 131.5 kB / 333.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.09755, allocations: 214.9 kB / 333.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.09756, allocations: 0 / 333.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004831/0.09805, allocations: 293.2 kB / 333.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.09807, allocations: 8 kB / 333.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.09809, allocations: 0 / 333.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.09811, allocations: 4 kB / 333.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.09826, allocations: 31.97 kB / 333.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.09828, allocations: 8 kB / 333.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.09836, allocations: 19.84 kB / 333.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.09838, allocations: 4 kB / 333.8 MB, free: 13.61 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001381/0.09853, allocations: 149.8 kB / 334 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.09856, allocations: 15.8 kB / 334 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.09859, allocations: 13.41 kB / 334 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0986, allocations: 4 kB / 334 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.09861, allocations: 0 / 334 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.09862, allocations: 4 kB / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.09881, allocations: 209.5 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.09882, allocations: 7.922 kB / 334.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.09888, allocations: 8 kB / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.09889, allocations: 0 / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.0989, allocations: 0 / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.09891, allocations: 4 kB / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.09892, allocations: 3.984 kB / 334.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.09926, allocations: 226.8 kB / 334.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.09934, allocations: 96.91 kB / 334.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.09937, allocations: 4 kB / 334.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.09944, allocations: 7.984 kB / 334.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.0995, allocations: 24 kB / 334.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.09951, allocations: 0 / 334.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.277e-05/0.09961, allocations: 136.2 kB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09962, allocations: 0 / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.09993, allocations: 59.84 kB / 334.8 MB, free: 12.55 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001189/0.1011, allocations: 0.9383 MB / 335.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.1016, allocations: 199.7 kB / 335.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1016, allocations: 0 / 335.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1017, allocations: 59.97 kB / 336 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1019, allocations: 8 kB / 336 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1043, allocations: 2.11 MB / 338.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1045, allocations: 0.7041 MB / 338.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.838e-05/0.1046, allocations: 24.8 kB / 338.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.1047, allocations: 43.42 kB / 338.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1047, allocations: 0 / 338.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.1247, allocations: 3.72 MB / 342.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.469, allocations: 27.67 kB / 342.6 MB, free: 4.516 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches