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.001354/0.001354, allocations: 108.8 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.001414/0.001414, allocations: 190.9 kB / 18.67 MB, free: 4.41 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.456/1.456, 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.001705/0.001705, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1018, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00291/0.1047, allocations: 1.522 MB / 376.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1073, allocations: 1.454 MB / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.1074, allocations: 0 / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.1075, allocations: 11.81 kB / 377.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.1076, allocations: 23.8 kB / 377.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1088, allocations: 390.8 kB / 378.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.109, allocations: 135.6 kB / 378.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.109, allocations: 9.5 kB / 378.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.1091, allocations: 55.77 kB / 378.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.1092, allocations: 67.62 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.1092, allocations: 12 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007018/0.11, allocations: 427.3 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.11, allocations: 35.84 kB / 378.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.1101, allocations: 63.59 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.1108, allocations: 414.7 kB / 379.2 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1108, allocations: 0 / 379.2 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1108, allocations: 0 / 379.2 MB, free: 468 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1108, allocations: 0 / 379.2 MB, free: 468 kB / 318.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.206/0.3168, allocations: 0.5255 MB / 379.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3168, allocations: 11.69 kB / 379.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.3169, allocations: 39.72 kB / 379.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.3171, allocations: 29.98 kB / 379.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3173, allocations: 202.7 kB / 380 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3174, allocations: 8.922 kB / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3174, allocations: 10.06 kB / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3177, allocations: 133.5 kB / 380.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3177, allocations: 6.25 kB / 380.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3177, allocations: 3.062 kB / 380.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3177, allocations: 1.375 kB / 380.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.318, allocations: 70.55 kB / 380.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.3187, allocations: 0.5614 MB / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.319, allocations: 152.8 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3191, allocations: 64.11 kB / 381 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3192, allocations: 1.281 kB / 381 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.3195, allocations: 161.4 kB / 381.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.3195, allocations: 0 / 381.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005708/0.3201, allocations: 252.6 kB / 381.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3202, allocations: 116.4 kB / 381.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.3203, allocations: 200.5 kB / 381.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3204, allocations: 46.39 kB / 381.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.3204, allocations: 112 kB / 381.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.3205, allocations: 40.75 kB / 382 MB, free: 11.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.3206, allocations: 64.16 kB / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.3206, allocations: 337.1 kB / 382.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3208, allocations: 96.98 kB / 382.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.3211, allocations: 146.3 kB / 382.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.3215, allocations: 234.1 kB / 382.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3216, allocations: 1.375 kB / 382.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006427/0.3222, allocations: 305 kB / 383.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3222, allocations: 6.453 kB / 383.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3223, allocations: 1.219 kB / 383.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.3223, allocations: 1.75 kB / 383.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3225, allocations: 36.86 kB / 383.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3225, allocations: 3.578 kB / 383.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.3226, allocations: 33.06 kB / 383.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3226, allocations: 13.61 kB / 383.2 MB, free: 11.02 MB / 318.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.0001146/0.3227, allocations: 148 kB / 383.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.3228, allocations: 14.94 kB / 383.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.3228, allocations: 15.72 kB / 383.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3228, allocations: 4.25 kB / 383.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3228, allocations: 5.406 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3228, allocations: 1.891 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.323, allocations: 225.5 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.323, allocations: 0 / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.3231, allocations: 11.42 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3231, allocations: 4 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3231, allocations: 2.891 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3231, allocations: 1.922 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3231, allocations: 3.016 kB / 383.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3235, allocations: 245.7 kB / 383.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.3236, allocations: 93.55 kB / 384 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3236, allocations: 12.92 kB / 384 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.3237, allocations: 7.531 kB / 384 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.3237, allocations: 21.64 kB / 384 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3238, allocations: 5.562 kB / 384 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.3239, allocations: 135.8 kB / 384.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3239, allocations: 0.6562 kB / 384.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.3244, allocations: 129.7 kB / 384.3 MB, free: 10.29 MB / 318.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.001483/0.3259, allocations: 1.079 MB / 385.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.3264, allocations: 202 kB / 385.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3264, allocations: 2.062 kB / 385.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.3266, allocations: 68.61 kB / 385.6 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.3268, allocations: 21.72 kB / 385.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.3296, allocations: 2.335 MB / 388 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.3298, allocations: 0.7195 MB / 388.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.039e-05/0.3299, allocations: 23.09 kB / 388.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.33, allocations: 45.69 kB / 388.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.33, allocations: 0 / 388.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.3594, allocations: 5.612 MB / 394.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.477, allocations: 9.125 kB / 394.4 MB, free: 6.16 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches