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/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_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_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.001492/0.001492, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009133/0.0009132, allocations: 90.7 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.753e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4527, allocations: 77.73 MB / 440.8 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.453, allocations: 73.77 kB / 440.9 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02204/0.4751, allocations: 7.459 MB / 448.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4752, allocations: 0 / 448.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.4752, allocations: 4 kB / 448.3 MB, free: 11.56 MB / 330.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.00123/0.4764, allocations: 0.5001 MB / 448.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4765, allocations: 11.97 kB / 448.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.4769, allocations: 31.8 kB / 448.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4772, allocations: 196.1 kB / 449.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.4772, allocations: 6.891 kB / 449.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.4773, allocations: 8 kB / 449.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001516/0.4774, allocations: 33.36 kB / 449.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4777, allocations: 118.8 kB / 449.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4777, allocations: 0 / 449.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4777, allocations: 0 / 449.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4777, allocations: 3.938 kB / 449.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009192/0.4787, allocations: 0.539 MB / 449.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.4789, allocations: 118.1 kB / 449.9 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.479, allocations: 60.22 kB / 450 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.479, allocations: 0 / 450 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.4792, allocations: 135.1 kB / 450.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.4792, allocations: 0 / 450.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007079/0.4799, allocations: 208.2 kB / 450.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.48, allocations: 117.9 kB / 450.4 MB, free: 9.438 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.4802, allocations: 166.6 kB / 450.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.4803, allocations: 47.94 kB / 450.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.4804, allocations: 105.5 kB / 450.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.4805, allocations: 53.8 kB / 450.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4805, allocations: 0 / 450.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4806, allocations: 329.1 kB / 451.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.4807, allocations: 76.84 kB / 451.2 MB, free: 8.734 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.4809, allocations: 110.2 kB / 451.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.4815, allocations: 127.6 kB / 451.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4815, allocations: 3.953 kB / 451.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007631/0.4823, allocations: 286.4 kB / 451.7 MB, free: 8.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4823, allocations: 4 kB / 451.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.4823, allocations: 11.55 kB / 451.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4824, allocations: 4 kB / 451.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4825, allocations: 32.02 kB / 451.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4825, allocations: 4 kB / 451.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.4826, allocations: 19.75 kB / 451.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.4827, allocations: 15.8 kB / 451.8 MB, free: 8.234 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001167/0.4828, allocations: 126.2 kB / 451.9 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.4829, allocations: 23.75 kB / 451.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.4829, allocations: 20.97 kB / 451.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4829, allocations: 0 / 451.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4829, allocations: 4 kB / 451.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4829, allocations: 0 / 451.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.4831, allocations: 193.4 kB / 452.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4831, allocations: 7.938 kB / 452.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.4832, allocations: 11.98 kB / 452.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4832, allocations: 3.953 kB / 452.2 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4832, allocations: 4 kB / 452.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4833, allocations: 3.984 kB / 452.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.4833, allocations: 8 kB / 452.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.4838, allocations: 270.7 kB / 452.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4839, allocations: 96.8 kB / 452.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.484, allocations: 11.98 kB / 452.5 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.484, allocations: 11.98 kB / 452.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.4841, allocations: 11.86 kB / 452.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.4841, allocations: 11.98 kB / 452.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.012e-05/0.4842, allocations: 127.7 kB / 452.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4842, allocations: 0 / 452.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005837/0.4848, allocations: 154.1 kB / 452.8 MB, free: 7.148 MB / 330.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]) * 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.001136/0.486, allocations: 394.5 kB / 453.2 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.4863, allocations: 223.1 kB / 453.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4863, allocations: 0 / 453.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.757e-05/0.4864, allocations: 52.3 kB / 453.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4866, allocations: 15.39 kB / 453.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.4871, allocations: 190.9 kB / 453.7 MB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4875, allocations: 0.7201 MB / 454.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.954e-05/0.4876, allocations: 21.2 kB / 454.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.4876, allocations: 18.75 kB / 454.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4877, allocations: 0 / 454.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of Templates: time 0.007319/0.495, allocations: 3.436 MB / 457.9 MB, free: 2.121 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/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_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches