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.001648/0.001648, allocations: 104.8 kB / 17.16 MB, free: 6.316 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.001993/0.001993, allocations: 190 kB / 18.07 MB, free: 5.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.442/1.442, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001108/0.001108, allocations: 47.94 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08148, allocations: 46.63 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002526/0.08404, allocations: 1.599 MB / 328.3 MB, free: 3.191 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.08624, allocations: 1.529 MB / 329.8 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.08631, allocations: 4 kB / 329.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.08641, allocations: 3.938 kB / 329.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.71e-05/0.0865, allocations: 19.84 kB / 329.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.08728, allocations: 315.2 kB / 330.2 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.08742, allocations: 123.6 kB / 330.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.08748, allocations: 9.5 kB / 330.3 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.08755, allocations: 51.77 kB / 330.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.08763, allocations: 71.61 kB / 330.4 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.08766, allocations: 8 kB / 330.4 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005997/0.08827, allocations: 447.1 kB / 330.9 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.08833, allocations: 43.72 kB / 330.9 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.0884, allocations: 67.58 kB / 331 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.08889, allocations: 411.2 kB / 331.4 MB, free: 104 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.08891, allocations: 7.984 kB / 331.4 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.08892, allocations: 3.938 kB / 331.4 MB, free: 92 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.08893, allocations: 0 / 331.4 MB, free: 92 kB / 270.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.0007015/0.08963, allocations: 0.5065 MB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.08968, allocations: 8.031 kB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.08974, allocations: 42.73 kB / 331.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.08995, allocations: 32.73 kB / 332 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.09012, allocations: 208.9 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.09015, allocations: 8.359 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.09017, allocations: 12.38 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.09042, allocations: 132.3 kB / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.09044, allocations: 0 / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.09046, allocations: 4 kB / 332.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.09047, allocations: 4 kB / 332.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.09067, allocations: 67.89 kB / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.09135, allocations: 0.5593 MB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.09168, allocations: 151.9 kB / 333.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.09181, allocations: 70.55 kB / 333.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.09183, allocations: 0 / 333.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.09213, allocations: 153.8 kB / 333.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.09214, allocations: 4 kB / 333.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005349/0.09268, allocations: 257.3 kB / 333.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.09275, allocations: 118.7 kB / 333.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.09293, allocations: 206.8 kB / 333.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.09297, allocations: 37.7 kB / 333.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.09304, allocations: 116.6 kB / 334 MB, free: 13.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.09308, allocations: 43.53 kB / 334.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.09316, allocations: 61.69 kB / 334.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.09326, allocations: 334.8 kB / 334.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.09346, allocations: 99.95 kB / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.09367, allocations: 147.2 kB / 334.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.09402, allocations: 219.8 kB / 334.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.09403, allocations: 0 / 334.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000497/0.09453, allocations: 313.2 kB / 335.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.09456, allocations: 8 kB / 335.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.09457, allocations: 0 / 335.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.09459, allocations: 0 / 335.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.09474, allocations: 39.84 kB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.09476, allocations: 4 kB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.09485, allocations: 19.78 kB / 335.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.09487, allocations: 12 kB / 335.3 MB, free: 11.82 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.0001213/0.095, allocations: 153.8 kB / 335.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.09503, allocations: 15.75 kB / 335.5 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.09507, allocations: 21.39 kB / 335.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.09508, allocations: 4 kB / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.09509, allocations: 0 / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.0951, allocations: 3.938 kB / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.09528, allocations: 225.4 kB / 335.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.09529, allocations: 0 / 335.7 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.09536, allocations: 15.98 kB / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.09536, allocations: 0 / 335.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.09538, allocations: 4 kB / 335.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.09539, allocations: 0 / 335.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.09539, allocations: 0 / 335.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.09577, allocations: 249.7 kB / 336 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.09582, allocations: 88.92 kB / 336.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.09586, allocations: 11.98 kB / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.09593, allocations: 8 kB / 336.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.09599, allocations: 15.91 kB / 336.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.09601, allocations: 4 kB / 336.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.09611, allocations: 137.2 kB / 336.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09612, allocations: 0 / 336.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.09651, allocations: 128 kB / 336.4 MB, free: 10.66 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.001383/0.0979, allocations: 1.089 MB / 337.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.09832, allocations: 203.7 kB / 337.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09833, allocations: 0 / 337.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.09849, allocations: 67.91 kB / 337.7 MB, free: 9.285 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.09868, allocations: 15.88 kB / 337.7 MB, free: 9.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1014, allocations: 2.337 MB / 340.1 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1016, allocations: 0.7162 MB / 340.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.1017, allocations: 21.41 kB / 340.8 MB, free: 6.059 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.1018, allocations: 51.42 kB / 340.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1018, allocations: 0 / 340.9 MB, free: 6.008 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.1178, allocations: 5.305 MB / 346.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.118, allocations: 246.3 kB / 346.4 MB, free: 416 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.932, allocations: 3.938 kB / 346.4 MB, free: 412 kB / 286.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