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.001394/0.001394, allocations: 113.4 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.001412/0.001412, allocations: 188.2 kB / 18.66 MB, free: 4.414 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.483/1.483, 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.001595/0.001595, allocations: 51.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09413, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003032/0.0972, allocations: 1.82 MB / 376.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.09903, allocations: 1.014 MB / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.09921, allocations: 0 / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.09936, allocations: 19.73 kB / 377.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.09957, allocations: 27.73 kB / 377.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.1002, allocations: 195.5 kB / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1005, allocations: 215.5 kB / 377.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1006, allocations: 68.52 kB / 378 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1008, allocations: 99.61 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1009, allocations: 123.4 kB / 378.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.101, allocations: 24 kB / 378.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.1012, allocations: 131.9 kB / 378.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1013, allocations: 67.75 kB / 378.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1014, allocations: 95.45 kB / 378.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.1018, allocations: 307 kB / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1019, allocations: 0 / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1019, allocations: 4 kB / 378.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1019, allocations: 0 / 378.8 MB, free: 0.8398 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.001082/0.103, allocations: 0.5583 MB / 379.4 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.103, allocations: 12.02 kB / 379.4 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.088e-05/0.1031, allocations: 50.59 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.1033, allocations: 36.64 kB / 379.5 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.173/0.2763, allocations: 236.4 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.2764, allocations: 17.83 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.2764, allocations: 22.78 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.277, allocations: 203.7 kB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2771, allocations: 0 / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2771, allocations: 14.59 kB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2771, allocations: 4.656 kB / 380 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.2776, allocations: 154.7 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.2786, allocations: 0.5802 MB / 380.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.2796, allocations: 306.6 kB / 381 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.2799, allocations: 117.4 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.28, allocations: 7.109 kB / 381.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.2804, allocations: 163.9 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.2804, allocations: 2.25 kB / 381.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001066/0.2815, allocations: 352.3 kB / 381.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2815, allocations: 59.61 kB / 381.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2817, allocations: 220 kB / 381.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.2818, allocations: 40.27 kB / 382 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.2819, allocations: 132.5 kB / 382.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.2819, allocations: 68.31 kB / 382.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2821, allocations: 70.09 kB / 382.2 MB, free: 11.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.2821, allocations: 334 kB / 382.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.2825, allocations: 131.3 kB / 382.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.2829, allocations: 168.3 kB / 382.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.2835, allocations: 270.7 kB / 383.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2835, allocations: 0 / 383.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008201/0.2844, allocations: 377.4 kB / 383.5 MB, free: 11.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2844, allocations: 9.75 kB / 383.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2844, allocations: 3.172 kB / 383.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.2844, allocations: 2.391 kB / 383.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.2848, allocations: 71.12 kB / 383.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2848, allocations: 1.844 kB / 383.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.285, allocations: 40.45 kB / 383.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.285, allocations: 13.33 kB / 383.6 MB, free: 11.33 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.0001311/0.2851, allocations: 141.9 kB / 383.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.2852, allocations: 21.98 kB / 383.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.2853, allocations: 23.47 kB / 383.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2853, allocations: 1.875 kB / 383.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2853, allocations: 4.906 kB / 383.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2853, allocations: 1.5 kB / 383.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2864, allocations: 0.6362 MB / 384.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2864, allocations: 0 / 384.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.2867, allocations: 54.17 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2867, allocations: 1.438 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.2867, allocations: 6.734 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2868, allocations: 2.219 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.2868, allocations: 3.938 kB / 384.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2878, allocations: 488.4 kB / 385 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.2878, allocations: 100.1 kB / 385.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.2879, allocations: 6.203 kB / 385.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2881, allocations: 24.75 kB / 385.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.2881, allocations: 23.31 kB / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.2882, allocations: 9.406 kB / 385.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.2883, allocations: 150.3 kB / 385.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2883, allocations: 0 / 385.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000368/0.2887, allocations: 65.91 kB / 385.4 MB, free: 10.27 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.001466/0.2901, allocations: 1.123 MB / 386.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.2909, allocations: 282.1 kB / 386.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2909, allocations: 1.156 kB / 386.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.2912, allocations: 117.8 kB / 386.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.2916, allocations: 39.31 kB / 386.9 MB, free: 9.344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.2952, allocations: 2.807 MB / 389.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.2955, allocations: 0.7402 MB / 390.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.2956, allocations: 31.17 kB / 390.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2957, allocations: 73.02 kB / 390.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2957, allocations: 0 / 390.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3211, allocations: 5.563 MB / 396.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.578, allocations: 9.312 kB / 396.1 MB, free: 5.613 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 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.mat","/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