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.0008465/0.0008465, allocations: 97.94 kB / 17.3 MB, free: 6.078 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.001099/0.001099, allocations: 180.2 kB / 18.21 MB, free: 5.391 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.513/1.513, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004727/0.0004727, allocations: 16 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08526, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002209/0.08751, allocations: 1.559 MB / 330.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.08916, allocations: 0.9827 MB / 331.6 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.08925, allocations: 4 kB / 331.6 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.425e-05/0.08935, allocations: 15.8 kB / 331.6 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.0895, allocations: 19.8 kB / 331.6 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.08992, allocations: 159.7 kB / 331.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.09013, allocations: 203.5 kB / 332 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.0903, allocations: 68.05 kB / 332.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.09039, allocations: 75.62 kB / 332.1 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.09052, allocations: 99.52 kB / 332.2 MB, free: 480 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.09055, allocations: 12 kB / 332.2 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.09078, allocations: 119.8 kB / 332.4 MB, free: 348 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.09085, allocations: 47.81 kB / 332.4 MB, free: 300 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.09096, allocations: 117.1 kB / 332.5 MB, free: 176 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.0913, allocations: 283.5 kB / 332.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09132, allocations: 0 / 332.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09133, allocations: 0 / 332.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.09134, allocations: 4 kB / 332.8 MB, free: 15.89 MB / 286.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.001039/0.09238, allocations: 0.5466 MB / 333.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.09242, allocations: 8.031 kB / 333.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.349e-05/0.09251, allocations: 54.73 kB / 333.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.0927, allocations: 36.64 kB / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.09295, allocations: 236.8 kB / 333.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.09298, allocations: 12.38 kB / 333.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.09303, allocations: 28.28 kB / 333.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.09351, allocations: 230.4 kB / 333.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.09353, allocations: 0 / 333.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.09355, allocations: 11.94 kB / 334 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.09357, allocations: 0 / 334 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.09404, allocations: 188.1 kB / 334.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.09502, allocations: 0.5826 MB / 334.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.09612, allocations: 390.5 kB / 335.1 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.09643, allocations: 136.8 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.09646, allocations: 3.938 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.09686, allocations: 183.3 kB / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.09687, allocations: 0 / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009971/0.09787, allocations: 409.1 kB / 335.8 MB, free: 12.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.09793, allocations: 71.39 kB / 335.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.09813, allocations: 211.8 kB / 336.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.09817, allocations: 33.7 kB / 336.1 MB, free: 12.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.09827, allocations: 132.5 kB / 336.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.09833, allocations: 71.02 kB / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.09838, allocations: 41.69 kB / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.09851, allocations: 334.8 kB / 336.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.09885, allocations: 151.9 kB / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.09922, allocations: 181.4 kB / 337 MB, free: 11.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.09987, allocations: 316.3 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.09988, allocations: 4 kB / 337.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007901/0.1007, allocations: 409.1 kB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1007, allocations: 4 kB / 337.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1007, allocations: 4.031 kB / 337.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1007, allocations: 7.984 kB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.101, allocations: 75.89 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1011, allocations: 4 kB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.1012, allocations: 55.59 kB / 337.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.1013, allocations: 11.98 kB / 337.9 MB, free: 10.55 MB / 286.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.0001388/0.1014, allocations: 149.7 kB / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1015, allocations: 19.72 kB / 338.1 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.1015, allocations: 21.88 kB / 338.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1015, allocations: 0 / 338.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1015, allocations: 0 / 338.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1015, allocations: 7.984 kB / 338.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1027, allocations: 0.6777 MB / 338.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1027, allocations: 0 / 338.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.1029, allocations: 55.95 kB / 338.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1029, allocations: 0 / 338.8 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.103, allocations: 11.98 kB / 338.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.103, allocations: 0 / 338.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.103, allocations: 0 / 338.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.104, allocations: 0.5428 MB / 339.4 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1041, allocations: 96.8 kB / 339.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1041, allocations: 16.05 kB / 339.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1043, allocations: 23.98 kB / 339.5 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.1044, allocations: 19.97 kB / 339.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1044, allocations: 4 kB / 339.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1045, allocations: 151.2 kB / 339.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1045, allocations: 0 / 339.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1049, allocations: 75.89 kB / 339.8 MB, free: 8.582 MB / 286.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.001635/0.1065, allocations: 1.182 MB / 340.9 MB, free: 7.387 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008082/0.1074, allocations: 319.7 kB / 341.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1074, allocations: 0 / 341.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.1078, allocations: 135.4 kB / 341.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1081, allocations: 27.92 kB / 341.4 MB, free: 6.918 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.1122, allocations: 3 MB / 344.4 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1125, allocations: 0.7398 MB / 345.1 MB, free: 3.066 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1126, allocations: 25.94 kB / 345.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1127, allocations: 71.41 kB / 345.2 MB, free: 2.969 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1127, allocations: 0 / 345.2 MB, free: 2.969 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.1304, allocations: 5.026 MB / 350.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.1306, allocations: 252.8 kB / 350.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.089, allocations: 0 / 350.5 MB, free: 13.68 MB / 302.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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches