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.001484/0.001484, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001677/0.001677, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.578/1.578, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001404/0.001404, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.1002, allocations: 46.63 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003215/0.1035, allocations: 1.476 MB / 376.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1048, allocations: 0.5585 MB / 376.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.1049, allocations: 0 / 376.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1051, allocations: 11.86 kB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.1052, allocations: 15.81 kB / 376.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.1059, allocations: 151.5 kB / 376.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1061, allocations: 123.6 kB / 377 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.1062, allocations: 16.8 kB / 377 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.686e-05/0.1063, allocations: 47.84 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.1063, allocations: 55.75 kB / 377.1 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.1064, allocations: 16 kB / 377.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.1067, allocations: 127.8 kB / 377.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.1067, allocations: 23.92 kB / 377.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1068, allocations: 63.64 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1072, allocations: 215.2 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1072, allocations: 0 / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1072, allocations: 0 / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1073, allocations: 0 / 377.5 MB, free: 2.172 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007619/0.108, allocations: 466.5 kB / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1081, allocations: 12.03 kB / 378 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.528e-05/0.1082, allocations: 38.75 kB / 378 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.1085, allocations: 36.81 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.1087, allocations: 196.2 kB / 378.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.1088, allocations: 4.375 kB / 378.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.1088, allocations: 8.375 kB / 378.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.109, allocations: 127.8 kB / 378.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1091, allocations: 3.938 kB / 378.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1091, allocations: 0 / 378.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1091, allocations: 0 / 378.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.1093, allocations: 59.95 kB / 378.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007547/0.1101, allocations: 460.7 kB / 378.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.1104, allocations: 121.2 kB / 379 MB, free: 500 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1105, allocations: 57.75 kB / 379.1 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1105, allocations: 4 kB / 379.1 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1108, allocations: 141 kB / 379.2 MB, free: 272 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.1108, allocations: 0 / 379.2 MB, free: 272 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005334/0.1114, allocations: 237.5 kB / 379.5 MB, free: 28 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2077/0.3191, allocations: 87.42 kB / 379.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.3194, allocations: 172.3 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.3195, allocations: 46.78 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.3196, allocations: 112.2 kB / 379.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.3197, allocations: 41.75 kB / 379.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3198, allocations: 53.92 kB / 380 MB, free: 12.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.3199, allocations: 335 kB / 380.3 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.3202, allocations: 98.06 kB / 380.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3204, allocations: 127.8 kB / 380.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.3208, allocations: 221.5 kB / 380.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3208, allocations: 0 / 380.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000568/0.3214, allocations: 296.9 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3215, allocations: 7.094 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3215, allocations: 5.125 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3215, allocations: 1.375 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3217, allocations: 30.05 kB / 381.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3217, allocations: 2.312 kB / 381.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-05/0.3218, allocations: 27.03 kB / 381.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3218, allocations: 10.95 kB / 381.1 MB, free: 12.28 MB / 318.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.0001541/0.322, allocations: 151.8 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.322, allocations: 17.34 kB / 381.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3221, allocations: 13.61 kB / 381.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3221, allocations: 1.375 kB / 381.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3221, allocations: 1.375 kB / 381.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3221, allocations: 3.953 kB / 381.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3223, allocations: 214.4 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3223, allocations: 1.375 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.3224, allocations: 7.516 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3224, allocations: 5.312 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3224, allocations: 9.188 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.3224, allocations: 4.188 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3224, allocations: 0.9375 kB / 381.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.3229, allocations: 216.7 kB / 381.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.3229, allocations: 93.47 kB / 381.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.323, allocations: 14.81 kB / 381.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.323, allocations: 6.359 kB / 381.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3231, allocations: 14.44 kB / 381.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3231, allocations: 4.047 kB / 381.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3233, allocations: 127.8 kB / 382 MB, free: 11.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3233, allocations: 0 / 382 MB, free: 11.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.3237, allocations: 57.67 kB / 382 MB, free: 11.69 MB / 318.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.001254/0.3249, allocations: 0.9518 MB / 383 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.3255, allocations: 191.8 kB / 383.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3255, allocations: 2.906 kB / 383.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.3256, allocations: 56.75 kB / 383.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.3258, allocations: 9.609 kB / 383.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.3285, allocations: 2.121 MB / 385.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.3287, allocations: 0.7095 MB / 386.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.3288, allocations: 22.58 kB / 386.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.3289, allocations: 43.08 kB / 386.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3289, allocations: 0 / 386.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3545, allocations: 3.793 MB / 389.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.2, allocations: 16.77 kB / 390 MB, free: 8.066 MB / 318.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