Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 175 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.0008653, allocations: 93.52 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 47.57 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001993/0.2139, allocations: 1.508 MB / 376.7 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2154, allocations: 0.948 MB / 377.6 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.2155, allocations: 2.344 kB / 377.6 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2156, allocations: 16.86 kB / 377.7 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.2158, allocations: 18.86 kB / 377.7 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2162, allocations: 148.5 kB / 377.8 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.2164, allocations: 198.3 kB / 378 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2166, allocations: 61.05 kB / 378.1 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.2167, allocations: 75.69 kB / 378.1 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2168, allocations: 98.33 kB / 378.2 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.2168, allocations: 9.594 kB / 378.3 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.2171, allocations: 119.2 kB / 378.4 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.2171, allocations: 45.66 kB / 378.4 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.484e-05/0.2172, allocations: 104.6 kB / 378.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.2175, allocations: 206.9 kB / 378.7 MB, free: 42.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2175, allocations: 1.312 kB / 378.7 MB, free: 42.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2175, allocations: 0 / 378.7 MB, free: 42.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.2175, allocations: 0 / 378.7 MB, free: 42.78 MB / 298.7 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.0009546/0.2185, allocations: 0.5513 MB / 379.3 MB, free: 42.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2185, allocations: 10.59 kB / 379.3 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.235e-05/0.2186, allocations: 54.45 kB / 379.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.2188, allocations: 41.39 kB / 379.4 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.219, allocations: 242.3 kB / 379.6 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.219, allocations: 17.03 kB / 379.6 MB, free: 41.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.2191, allocations: 22.88 kB / 379.7 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.2196, allocations: 226.3 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2196, allocations: 0 / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.2196, allocations: 5 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2197, allocations: 4.125 kB / 379.9 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.2201, allocations: 188.7 kB / 380.1 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.2211, allocations: 0.5961 MB / 380.7 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.2222, allocations: 375.3 kB / 381 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.2226, allocations: 133.1 kB / 381.2 MB, free: 40.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2226, allocations: 6.312 kB / 381.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.223, allocations: 187.6 kB / 381.3 MB, free: 40.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.265e-06/0.223, allocations: 0 / 381.3 MB, free: 40.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001057/0.2241, allocations: 412 kB / 381.8 MB, free: 40.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2241, allocations: 64.64 kB / 381.8 MB, free: 40.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.2244, allocations: 214.2 kB / 382 MB, free: 40.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.2244, allocations: 39.83 kB / 382.1 MB, free: 40.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.2245, allocations: 128.8 kB / 382.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.2246, allocations: 80.73 kB / 382.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.2246, allocations: 5.344 kB / 382.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.2247, allocations: 328.4 kB / 382.6 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.2251, allocations: 151.6 kB / 382.7 MB, free: 39.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.2255, allocations: 175.9 kB / 382.9 MB, free: 39.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.2262, allocations: 316.3 kB / 383.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2262, allocations: 5.125 kB / 383.2 MB, free: 39.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008775/0.227, allocations: 406.1 kB / 383.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2271, allocations: 5.438 kB / 383.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2271, allocations: 0 / 383.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2271, allocations: 2.625 kB / 383.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.2275, allocations: 80.72 kB / 383.7 MB, free: 39.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2275, allocations: 5.938 kB / 383.7 MB, free: 39.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.2277, allocations: 43.14 kB / 383.8 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.2277, allocations: 15.75 kB / 383.8 MB, free: 39.37 MB / 298.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.2278, allocations: 148.6 kB / 383.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.2279, allocations: 23.3 kB / 383.9 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.2279, allocations: 17.94 kB / 384 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.228, allocations: 1.906 kB / 384 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.228, allocations: 1.188 kB / 384 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.228, allocations: 3.984 kB / 384 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.229, allocations: 0.6797 MB / 384.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2291, allocations: 4 kB / 384.6 MB, free: 38.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.2293, allocations: 58.08 kB / 384.7 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2293, allocations: 4.781 kB / 384.7 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.2294, allocations: 6.062 kB / 384.7 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2294, allocations: 1.156 kB / 384.7 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2294, allocations: 3.984 kB / 384.7 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.2304, allocations: 0.527 MB / 385.2 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2304, allocations: 104.7 kB / 385.3 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.2305, allocations: 20.17 kB / 385.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.2306, allocations: 19.98 kB / 385.4 MB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.2307, allocations: 19.97 kB / 385.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.2307, allocations: 4 kB / 385.4 MB, free: 38.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.2308, allocations: 147.2 kB / 385.6 MB, free: 37.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2308, allocations: 0 / 385.6 MB, free: 37.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.2312, allocations: 79.92 kB / 385.6 MB, free: 37.89 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001457/0.2327, allocations: 1.187 MB / 386.8 MB, free: 36.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006997/0.2334, allocations: 327.7 kB / 387.1 MB, free: 36.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2334, allocations: 4.062 kB / 387.1 MB, free: 36.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.2337, allocations: 130.5 kB / 387.3 MB, free: 36.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.234, allocations: 31.92 kB / 387.3 MB, free: 36.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.2364, allocations: 1.628 MB / 388.9 MB, free: 34.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.2366, allocations: 0.744 MB / 389.7 MB, free: 33.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.2367, allocations: 79.39 kB / 389.8 MB, free: 33.7 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2367, allocations: 0 / 389.8 MB, free: 33.7 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.418/3.654, allocations: 3.9 MB / 393.7 MB, free: 29.78 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches