Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.0008638/0.0008639, allocations: 93.25 kB / 17.3 MB, free: 6.395 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.0009258/0.0009259, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.609/1.609, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004659/0.0004654, allocations: 12 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08826, allocations: 47.57 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001542/0.08984, allocations: 1.276 MB / 330.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.09214, allocations: 1.486 MB / 331.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.09224, allocations: 0 / 331.8 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.09233, allocations: 7.875 kB / 331.8 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.09243, allocations: 23.84 kB / 331.8 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.09332, allocations: 307.2 kB / 332.1 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.09348, allocations: 131.7 kB / 332.3 MB, free: 428 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.09354, allocations: 9.5 kB / 332.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.09361, allocations: 51.72 kB / 332.3 MB, free: 364 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.09369, allocations: 59.69 kB / 332.4 MB, free: 304 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.09372, allocations: 8 kB / 332.4 MB, free: 296 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.09442, allocations: 459.2 kB / 332.8 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.09448, allocations: 39.72 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.09456, allocations: 81.36 kB / 333 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.09517, allocations: 423.1 kB / 333.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.09519, allocations: 0 / 333.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09519, allocations: 0 / 333.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.09521, allocations: 0 / 333.4 MB, free: 15.3 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007123/0.09592, allocations: 494.8 kB / 333.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.09597, allocations: 16.03 kB / 333.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.09605, allocations: 46.66 kB / 333.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.09627, allocations: 28.73 kB / 334 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.09645, allocations: 220.7 kB / 334.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.09648, allocations: 8.375 kB / 334.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.09651, allocations: 12.38 kB / 334.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.09677, allocations: 140.3 kB / 334.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.09679, allocations: 0 / 334.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.09681, allocations: 4 kB / 334.3 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.09682, allocations: 0 / 334.3 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.09702, allocations: 71.89 kB / 334.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.09775, allocations: 0.5633 MB / 335 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.09811, allocations: 171.9 kB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.09825, allocations: 66.55 kB / 335.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.09828, allocations: 4 kB / 335.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.09857, allocations: 157.8 kB / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.774e-06/0.09858, allocations: 3.938 kB / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000554/0.09914, allocations: 269.3 kB / 335.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.09921, allocations: 118.8 kB / 335.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.09939, allocations: 206.8 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.09945, allocations: 49.69 kB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.09951, allocations: 108.5 kB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.09956, allocations: 43.58 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.09961, allocations: 41.7 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.09972, allocations: 334.7 kB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.09993, allocations: 107.9 kB / 336.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1001, allocations: 147.2 kB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.1005, allocations: 227.7 kB / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1005, allocations: 4 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005023/0.101, allocations: 309.3 kB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1011, allocations: 7.984 kB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1011, allocations: 0 / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1011, allocations: 4 kB / 337.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1013, allocations: 36.02 kB / 337.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1013, allocations: 0 / 337.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.1014, allocations: 39.66 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1014, allocations: 8 kB / 337.4 MB, free: 10.98 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001218/0.1015, allocations: 149.8 kB / 337.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1016, allocations: 15.81 kB / 337.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.1016, allocations: 17.41 kB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1016, allocations: 7.984 kB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1016, allocations: 0 / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1016, allocations: 3.938 kB / 337.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1018, allocations: 217.5 kB / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1018, allocations: 0 / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.1019, allocations: 11.98 kB / 337.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1019, allocations: 4 kB / 337.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1019, allocations: 0 / 337.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1019, allocations: 19.88 kB / 337.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1019, allocations: 0 / 337.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.1023, allocations: 246.4 kB / 338.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.1024, allocations: 92.91 kB / 338.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.1024, allocations: 8 kB / 338.1 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.1025, allocations: 15.98 kB / 338.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.1025, allocations: 15.86 kB / 338.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1026, allocations: 4 kB / 338.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1027, allocations: 141.2 kB / 338.3 MB, free: 9.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1027, allocations: 4.094 kB / 338.3 MB, free: 9.926 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.1031, allocations: 127.9 kB / 338.5 MB, free: 9.801 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001455/0.1046, allocations: 1.091 MB / 339.5 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.105, allocations: 211.8 kB / 339.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.105, allocations: 4 kB / 339.8 MB, free: 8.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1052, allocations: 71.89 kB / 339.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.1054, allocations: 11.94 kB / 339.8 MB, free: 8.398 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.108, allocations: 2.366 MB / 342.2 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1083, allocations: 0.7201 MB / 342.9 MB, free: 5.176 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.599e-05/0.1084, allocations: 17.42 kB / 342.9 MB, free: 5.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.1084, allocations: 55.36 kB / 343 MB, free: 5.102 MB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1084, allocations: 0 / 343 MB, free: 5.102 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.3558, allocations: 5.172 MB / 348.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.356, allocations: 245.6 kB / 348.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.315, allocations: 0 / 348.4 MB, free: 15.66 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches