Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_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.001388/0.001388, allocations: 107.7 kB / 17.06 MB, free: 5.992 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.001413/0.001413, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 51.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2626, allocations: 49.44 MB / 400.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00306/0.2657, allocations: 1.842 MB / 402.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2679, allocations: 1.255 MB / 403.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.268, allocations: 0 / 403.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2682, allocations: 19.73 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.2683, allocations: 23.73 kB / 403.4 MB, free: 5.668 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.0009165/0.2692, allocations: 323.1 kB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.2695, allocations: 215.5 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2696, allocations: 64.28 kB / 404 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2698, allocations: 95.55 kB / 404.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.2704, allocations: 118.9 kB / 404.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.2704, allocations: 20 kB / 404.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004738/0.2709, allocations: 275.5 kB / 404.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.271, allocations: 59.81 kB / 404.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2711, allocations: 99.41 kB / 404.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.2717, allocations: 393.7 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2717, allocations: 0 / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2717, allocations: 4 kB / 405 MB, free: 4.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2717, allocations: 0 / 405 MB, free: 4.035 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.001109/0.2728, allocations: 0.5773 MB / 405.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2729, allocations: 8.031 kB / 405.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.094e-05/0.2729, allocations: 50.73 kB / 405.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.2732, allocations: 40.78 kB / 405.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.2734, allocations: 249.1 kB / 405.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.2735, allocations: 16 kB / 406 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.2735, allocations: 20 kB / 406 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.274, allocations: 210.1 kB / 406.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2741, allocations: 0 / 406.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.2741, allocations: 4 kB / 406.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2741, allocations: 11.94 kB / 406.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.2748, allocations: 152.2 kB / 406.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2759, allocations: 0.5826 MB / 406.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2769, allocations: 308.7 kB / 407.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2772, allocations: 112.8 kB / 407.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2773, allocations: 4 kB / 407.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.2777, allocations: 164.7 kB / 407.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.003e-06/0.2777, allocations: 0 / 407.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.2787, allocations: 363.2 kB / 407.9 MB, free: 1.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.2788, allocations: 59.41 kB / 407.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.279, allocations: 215.7 kB / 408.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.2791, allocations: 37.69 kB / 408.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.2792, allocations: 132.7 kB / 408.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.2792, allocations: 79.31 kB / 408.4 MB, free: 484 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2794, allocations: 65.69 kB / 408.4 MB, free: 412 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2795, allocations: 334.8 kB / 408.8 MB, free: 68 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.2799, allocations: 139.8 kB / 408.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.2803, allocations: 158 kB / 409.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.2809, allocations: 268.6 kB / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2809, allocations: 0 / 409.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008268/0.2818, allocations: 373.2 kB / 409.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2818, allocations: 6.5 kB / 409.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2818, allocations: 7.938 kB / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2818, allocations: 0 / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.2821, allocations: 67.89 kB / 409.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.2822, allocations: 11.92 kB / 409.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2823, allocations: 39.83 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.2824, allocations: 15.98 kB / 409.8 MB, free: 14.99 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.0001643/0.2825, allocations: 137.8 kB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2826, allocations: 19.86 kB / 410 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.332e-05/0.2827, allocations: 25.86 kB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2827, allocations: 0 / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.2827, allocations: 7.938 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2827, allocations: 4 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2839, allocations: 0.6309 MB / 410.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2839, allocations: 4 kB / 410.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.2842, allocations: 43.89 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2842, allocations: 4 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.2842, allocations: 4 kB / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2842, allocations: 0 / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.2842, allocations: 7.938 kB / 410.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2852, allocations: 490.5 kB / 411.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.2853, allocations: 96.91 kB / 411.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.2854, allocations: 12.05 kB / 411.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2856, allocations: 19.98 kB / 411.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.2856, allocations: 19.97 kB / 411.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2856, allocations: 4 kB / 411.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.2858, allocations: 147.2 kB / 411.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.2858, allocations: 0 / 411.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000449/0.2862, allocations: 95.8 kB / 411.6 MB, free: 13.13 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.001924/0.2882, allocations: 1.205 MB / 412.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007653/0.289, allocations: 273 kB / 413 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.289, allocations: 4 kB / 413.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.2893, allocations: 115.9 kB / 413.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2896, allocations: 24 kB / 413.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.2938, allocations: 2.808 MB / 416 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2941, allocations: 0.7398 MB / 416.7 MB, free: 7.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.2943, allocations: 29.94 kB / 416.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.2944, allocations: 71.41 kB / 416.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of SimCode: time 2.355e-06/0.2944, allocations: 0 / 416.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.3256, allocations: 6.027 MB / 422.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.618/8.944, allocations: 11.19 kB / 422.9 MB, free: 1.84 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches