Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.001099, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008285/0.0008285, allocations: 82.44 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003322, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2783, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001549/0.2799, allocations: 1.254 MB / 376.3 MB, free: 44.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.282, allocations: 1.36 MB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.282, allocations: 3.938 kB / 377.7 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2821, allocations: 9.156 kB / 377.7 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.2822, allocations: 22.33 kB / 377.7 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.2831, allocations: 305.5 kB / 378 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2832, allocations: 122.1 kB / 378.1 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.2833, allocations: 15.11 kB / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.2834, allocations: 46.47 kB / 378.2 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.2835, allocations: 64.97 kB / 378.3 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2835, allocations: 6.812 kB / 378.3 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.2841, allocations: 448.2 kB / 378.7 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.2842, allocations: 31.55 kB / 378.7 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.2843, allocations: 87.06 kB / 378.8 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.2847, allocations: 285.1 kB / 379.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2848, allocations: 0 / 379.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2848, allocations: 0 / 379.1 MB, free: 42.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2848, allocations: 0 / 379.1 MB, free: 42.55 MB / 298.7 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.0007938/0.2856, allocations: 0.4922 MB / 379.6 MB, free: 42.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.2856, allocations: 8.688 kB / 379.6 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.2859, allocations: 35.08 kB / 379.6 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.2861, allocations: 208.6 kB / 379.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.2862, allocations: 3.625 kB / 379.9 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.2862, allocations: 18.56 kB / 379.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.2865, allocations: 127.7 kB / 380 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2866, allocations: 5.438 kB / 380 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2866, allocations: 3.984 kB / 380 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2866, allocations: 1.344 kB / 380 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.2869, allocations: 71.89 kB / 380.1 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000868/0.2878, allocations: 0.5519 MB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.2883, allocations: 172.2 kB / 380.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2885, allocations: 73.58 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2885, allocations: 1.188 kB / 380.9 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.2889, allocations: 153.7 kB / 381 MB, free: 40.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.2889, allocations: 0 / 381 MB, free: 40.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008348/0.2898, allocations: 274.6 kB / 381.3 MB, free: 40.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.2898, allocations: 115.4 kB / 381.4 MB, free: 40.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.2901, allocations: 200.8 kB / 381.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.2901, allocations: 52.31 kB / 381.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.2902, allocations: 111 kB / 381.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.2903, allocations: 43.3 kB / 381.8 MB, free: 40.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.2903, allocations: 5.188 kB / 381.8 MB, free: 40.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.2904, allocations: 335.4 kB / 382.1 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.2907, allocations: 108.8 kB / 382.2 MB, free: 39.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.291, allocations: 142.1 kB / 382.4 MB, free: 39.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.2916, allocations: 234.8 kB / 382.6 MB, free: 39.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2917, allocations: 1.125 kB / 382.6 MB, free: 39.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007735/0.2924, allocations: 312.5 kB / 382.9 MB, free: 39.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2925, allocations: 5.312 kB / 382.9 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2925, allocations: 0.9688 kB / 382.9 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2925, allocations: 1.938 kB / 382.9 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2927, allocations: 40 kB / 383 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2928, allocations: 2.125 kB / 383 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2929, allocations: 24.78 kB / 383 MB, free: 39.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.2929, allocations: 15.52 kB / 383 MB, free: 39.46 MB / 298.7 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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.2931, allocations: 151.6 kB / 383.1 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.2932, allocations: 22.72 kB / 383.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2932, allocations: 21.47 kB / 383.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2932, allocations: 1.125 kB / 383.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2932, allocations: 1.062 kB / 383.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2932, allocations: 1.438 kB / 383.2 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.2935, allocations: 213.7 kB / 383.4 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2935, allocations: 8.953 kB / 383.4 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.2936, allocations: 14.31 kB / 383.4 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2936, allocations: 0.9375 kB / 383.4 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2936, allocations: 6.109 kB / 383.4 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.2936, allocations: 5.031 kB / 383.4 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2936, allocations: 5.094 kB / 383.4 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.2941, allocations: 248.9 kB / 383.7 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.2942, allocations: 93.52 kB / 383.8 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.2942, allocations: 10.39 kB / 383.8 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.2943, allocations: 6.625 kB / 383.8 MB, free: 38.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.2944, allocations: 18.5 kB / 383.8 MB, free: 38.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2945, allocations: 7.344 kB / 383.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.2946, allocations: 140.5 kB / 384 MB, free: 38.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2946, allocations: 0 / 384 MB, free: 38.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007244/0.2954, allocations: 127.7 kB / 384.1 MB, free: 38.61 MB / 298.7 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,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.2964, allocations: 346.5 kB / 384.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006355/0.2971, allocations: 204.8 kB / 384.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2971, allocations: 9.188 kB / 384.6 MB, free: 38.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.2973, allocations: 77.92 kB / 384.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.2976, allocations: 8.469 kB / 384.7 MB, free: 38.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.2982, allocations: 332.9 kB / 385 MB, free: 38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.2984, allocations: 0.7173 MB / 385.8 MB, free: 37.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.2985, allocations: 16.34 kB / 385.8 MB, free: 37.28 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2985, allocations: 3.938 kB / 385.8 MB, free: 37.28 MB / 298.7 MB Notification: Performance of Templates: time 0.007668/0.3062, allocations: 3.957 MB / 389.7 MB, free: 33.62 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/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_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches