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.001859/0.001859, allocations: 109.5 kB / 17.73 MB, free: 5.359 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.002155/0.002155, allocations: 188.1 kB / 18.66 MB, free: 4.438 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.562/1.562, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001654/0.001654, allocations: 63.89 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1087, allocations: 46.61 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003534/0.1123, allocations: 1.836 MB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1144, allocations: 1.006 MB / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1145, allocations: 0 / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1146, allocations: 15.75 kB / 377.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1148, allocations: 43.7 kB / 377.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.1155, allocations: 183.5 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1158, allocations: 223.4 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.116, allocations: 72.25 kB / 378 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1161, allocations: 95.67 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1163, allocations: 119.4 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.1163, allocations: 20 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.1166, allocations: 139.9 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.1167, allocations: 59.75 kB / 378.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1168, allocations: 107.4 kB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.1173, allocations: 302.8 kB / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1173, allocations: 0 / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1173, allocations: 4 kB / 378.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1173, allocations: 4 kB / 378.9 MB, free: 0.8359 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.001324/0.1186, allocations: 0.554 MB / 379.4 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1187, allocations: 12.03 kB / 379.4 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.1188, allocations: 62.55 kB / 379.5 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.1191, allocations: 36.78 kB / 379.5 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1975/0.3166, allocations: 235.4 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.3167, allocations: 15.44 kB / 379.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.3167, allocations: 22.7 kB / 379.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.3173, allocations: 207.4 kB / 380 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3173, allocations: 3.156 kB / 380 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3173, allocations: 4.312 kB / 380 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3173, allocations: 4.391 kB / 380 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.3178, allocations: 156.8 kB / 380.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.3188, allocations: 0.5755 MB / 380.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.3198, allocations: 307.5 kB / 381 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3201, allocations: 115.9 kB / 381.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3202, allocations: 4.938 kB / 381.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.3206, allocations: 164.3 kB / 381.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 4.819e-06/0.3206, allocations: 4.219 kB / 381.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001144/0.3218, allocations: 362.5 kB / 381.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3218, allocations: 58.22 kB / 381.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.3221, allocations: 209.5 kB / 381.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.3221, allocations: 38.14 kB / 382 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.3222, allocations: 138.1 kB / 382.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.3223, allocations: 76.28 kB / 382.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.3224, allocations: 69.25 kB / 382.2 MB, free: 11.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.3225, allocations: 337.5 kB / 382.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.3229, allocations: 131.4 kB / 382.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3233, allocations: 163 kB / 382.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.3239, allocations: 270.8 kB / 383.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3239, allocations: 0 / 383.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000808/0.3248, allocations: 381.4 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3248, allocations: 11.84 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3248, allocations: 0.7969 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3248, allocations: 2.375 kB / 383.5 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.3251, allocations: 70.62 kB / 383.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3251, allocations: 2.094 kB / 383.6 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.3253, allocations: 42.36 kB / 383.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.3254, allocations: 11.09 kB / 383.6 MB, free: 11.2 MB / 318.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.0001295/0.3255, allocations: 144.8 kB / 383.8 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.3255, allocations: 24.27 kB / 383.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.3256, allocations: 23.02 kB / 383.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3256, allocations: 2.906 kB / 383.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3256, allocations: 4 kB / 383.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3256, allocations: 1.406 kB / 383.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3267, allocations: 0.6352 MB / 384.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3267, allocations: 5.812 kB / 384.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.327, allocations: 45.06 kB / 384.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.327, allocations: 0 / 384.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.327, allocations: 8.188 kB / 384.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.327, allocations: 5.062 kB / 384.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.327, allocations: 1.094 kB / 384.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.328, allocations: 487.6 kB / 385 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.328, allocations: 104.4 kB / 385.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.3281, allocations: 9.312 kB / 385.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.3282, allocations: 17.19 kB / 385.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.3283, allocations: 18.47 kB / 385.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3284, allocations: 6.688 kB / 385.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3285, allocations: 153.3 kB / 385.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3285, allocations: 3.938 kB / 385.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.3289, allocations: 74.06 kB / 385.4 MB, free: 10.17 MB / 318.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.001558/0.3305, allocations: 1.128 MB / 386.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008191/0.3313, allocations: 284 kB / 386.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3313, allocations: 4.062 kB / 386.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.3316, allocations: 117.9 kB / 386.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.332, allocations: 31.02 kB / 386.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.3359, allocations: 2.809 MB / 389.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.3362, allocations: 0.7398 MB / 390.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.3364, allocations: 33.5 kB / 390.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.3365, allocations: 67.88 kB / 390.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3365, allocations: 1.094 kB / 390.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.3691, allocations: 5.487 MB / 396.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.567, allocations: 11.88 kB / 396.1 MB, free: 5.555 MB / 318.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches