Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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: 114.4 kB / 17.74 MB, free: 5.355 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.001208/0.001208, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.574/1.574, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001635/0.001635, allocations: 59.91 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1035, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003391/0.1069, allocations: 1.828 MB / 376.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1095, allocations: 1.275 MB / 377.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.1096, allocations: 7.938 kB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1098, allocations: 19.73 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.1098, allocations: 27.72 kB / 377.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.1108, allocations: 315.1 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.1111, allocations: 215.5 kB / 378.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1113, allocations: 76.23 kB / 378.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1115, allocations: 91.62 kB / 378.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1117, allocations: 119.5 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.1117, allocations: 24 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.1122, allocations: 283.6 kB / 378.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.1123, allocations: 59.81 kB / 379 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1124, allocations: 103.4 kB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.1131, allocations: 406.6 kB / 379.5 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1131, allocations: 0 / 379.5 MB, free: 232 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1131, allocations: 4 kB / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1131, allocations: 0 / 379.5 MB, free: 228 kB / 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.1802/0.2933, allocations: 0.5738 MB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.2934, allocations: 11.12 kB / 380.1 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.2935, allocations: 51.91 kB / 380.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.2938, allocations: 41.36 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.294, allocations: 237.6 kB / 380.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.2941, allocations: 15.86 kB / 380.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.2941, allocations: 21.16 kB / 380.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.2947, allocations: 204 kB / 380.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2947, allocations: 7.594 kB / 380.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2947, allocations: 4.688 kB / 380.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.2947, allocations: 5.438 kB / 380.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.2952, allocations: 154.5 kB / 380.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2963, allocations: 0.5743 MB / 381.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.2973, allocations: 300.4 kB / 381.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.2976, allocations: 118.7 kB / 381.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2977, allocations: 4.391 kB / 381.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.2981, allocations: 174.5 kB / 382 MB, free: 12.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.776e-06/0.2981, allocations: 0 / 382 MB, free: 12.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001152/0.2993, allocations: 352.4 kB / 382.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.2994, allocations: 61.03 kB / 382.4 MB, free: 12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2996, allocations: 216 kB / 382.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.2997, allocations: 39.73 kB / 382.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.2998, allocations: 134.2 kB / 382.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.2999, allocations: 79.34 kB / 382.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3, allocations: 66.05 kB / 382.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.3001, allocations: 335.7 kB / 383.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.3005, allocations: 130.8 kB / 383.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.3009, allocations: 166.7 kB / 383.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.3016, allocations: 270.2 kB / 383.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3016, allocations: 4.797 kB / 383.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008168/0.3024, allocations: 371.9 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3025, allocations: 8.5 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3025, allocations: 0.875 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.3025, allocations: 7.734 kB / 384.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3028, allocations: 70.67 kB / 384.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3028, allocations: 2.5 kB / 384.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.303, allocations: 44.05 kB / 384.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.3031, allocations: 9.625 kB / 384.3 MB, free: 11.01 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.0001506/0.3032, allocations: 153.7 kB / 384.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.3033, allocations: 16.72 kB / 384.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.3033, allocations: 20.58 kB / 384.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3034, allocations: 3.734 kB / 384.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3034, allocations: 0 / 384.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3034, allocations: 3.797 kB / 384.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3045, allocations: 0.6514 MB / 385.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3045, allocations: 0 / 385.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.3047, allocations: 44.7 kB / 385.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3047, allocations: 1.438 kB / 385.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3048, allocations: 12.12 kB / 385.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3048, allocations: 1.922 kB / 385.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3048, allocations: 0 / 385.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.3058, allocations: 487 kB / 385.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3058, allocations: 97.44 kB / 385.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.3059, allocations: 13.38 kB / 385.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.306, allocations: 21.69 kB / 385.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.3061, allocations: 18.27 kB / 385.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3061, allocations: 10.41 kB / 385.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.3063, allocations: 149.2 kB / 386 MB, free: 9.957 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3063, allocations: 0 / 386 MB, free: 9.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.3067, allocations: 107 kB / 386.1 MB, free: 9.934 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.00186/0.3086, allocations: 1.19 MB / 387.2 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008373/0.3095, allocations: 288.6 kB / 387.5 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3095, allocations: 0 / 387.5 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.3098, allocations: 121.6 kB / 387.6 MB, free: 9 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3102, allocations: 30.28 kB / 387.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.3145, allocations: 2.824 MB / 390.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.3147, allocations: 0.74 MB / 391.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.3148, allocations: 31.91 kB / 391.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.315, allocations: 72.62 kB / 391.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.315, allocations: 0 / 391.3 MB, free: 6.473 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.3465, allocations: 6.203 MB / 397.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.724, allocations: 9.312 kB / 397.6 MB, free: 4.867 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches