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.001548/0.001548, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001727/0.001727, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.419/1.419, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001291/0.001291, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09225, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002913/0.0952, allocations: 1.526 MB / 376.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.09784, allocations: 1.458 MB / 377.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.09796, allocations: 0 / 377.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.09811, allocations: 11.86 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.09822, allocations: 23.73 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.09953, allocations: 394.8 kB / 378 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.09976, allocations: 131.7 kB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.09984, allocations: 9.766 kB / 378.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.09994, allocations: 59.7 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.1, allocations: 71.67 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.1001, allocations: 12 kB / 378.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007686/0.1008, allocations: 415.3 kB / 378.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.1009, allocations: 31.91 kB / 378.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.101, allocations: 71.53 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.1018, allocations: 415 kB / 379.2 MB, free: 464 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1018, allocations: 8 kB / 379.2 MB, free: 456 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1018, allocations: 0 / 379.2 MB, free: 456 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1018, allocations: 0 / 379.2 MB, free: 456 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.1827/0.2845, allocations: 0.5029 MB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2845, allocations: 8.781 kB / 379.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.2846, allocations: 41.23 kB / 379.8 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.2849, allocations: 30.67 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2851, allocations: 211.2 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.2851, allocations: 10.23 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.2852, allocations: 12.53 kB / 380.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2854, allocations: 128.1 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2855, allocations: 3.938 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.2855, allocations: 6.219 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2855, allocations: 2.25 kB / 380.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.2857, allocations: 70.97 kB / 380.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.2864, allocations: 0.5491 MB / 380.8 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2868, allocations: 152 kB / 381 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.2869, allocations: 67.41 kB / 381 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.2869, allocations: 4.656 kB / 381 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/0.2873, allocations: 152.4 kB / 381.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.754e-06/0.2873, allocations: 1.312 kB / 381.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005661/0.2878, allocations: 253.4 kB / 381.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2879, allocations: 120.9 kB / 381.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.2881, allocations: 197.8 kB / 381.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2881, allocations: 46.64 kB / 381.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.2882, allocations: 119.3 kB / 381.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2882, allocations: 37.2 kB / 381.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.2883, allocations: 61.23 kB / 382 MB, free: 11.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.2884, allocations: 336.3 kB / 382.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.2886, allocations: 97.7 kB / 382.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.2888, allocations: 143.5 kB / 382.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.2892, allocations: 229.5 kB / 382.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2892, allocations: 1.688 kB / 382.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006608/0.2899, allocations: 313.1 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2899, allocations: 5.75 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2899, allocations: 1.094 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.29, allocations: 3.734 kB / 383.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.2901, allocations: 34.75 kB / 383.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2901, allocations: 2.062 kB / 383.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.2903, allocations: 25.69 kB / 383.2 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2903, allocations: 11.31 kB / 383.2 MB, free: 11 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.0001233/0.2904, allocations: 156.6 kB / 383.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2905, allocations: 15.92 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.2905, allocations: 14.92 kB / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2905, allocations: 2.719 kB / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2905, allocations: 0 / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2905, allocations: 1.922 kB / 383.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.2907, allocations: 226 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2907, allocations: 1.531 kB / 383.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.2908, allocations: 20 kB / 383.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2908, allocations: 1.594 kB / 383.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2908, allocations: 5.5 kB / 383.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2908, allocations: 1.938 kB / 383.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2908, allocations: 1.531 kB / 383.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2912, allocations: 242.8 kB / 383.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.2913, allocations: 90.86 kB / 383.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2913, allocations: 12.92 kB / 384 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.2914, allocations: 7.469 kB / 384 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.2914, allocations: 23.05 kB / 384 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2915, allocations: 4.438 kB / 384 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2916, allocations: 135.9 kB / 384.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2916, allocations: 96 / 384.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.292, allocations: 139.1 kB / 384.3 MB, free: 10.25 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.00134/0.2934, allocations: 1.074 MB / 385.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.2939, allocations: 191.6 kB / 385.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2939, allocations: 0 / 385.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.294, allocations: 70.08 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.0001909/0.2942, allocations: 21.84 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.002619/0.2969, allocations: 2.332 MB / 387.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.297, allocations: 0.719 MB / 388.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.526e-05/0.2971, allocations: 25.8 kB / 388.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.2972, allocations: 49.3 kB / 388.7 MB, free: 7.086 MB / 318.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2972, allocations: 3.938 kB / 388.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3247, allocations: 5.685 MB / 394.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.346, allocations: 1.438 kB / 394.4 MB, free: 6.145 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