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.002855/0.002855, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.716/3.716, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.009682/0.009682, allocations: 86.3 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006115/0.0006117, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.6034, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.795, allocations: 78.29 MB / 454 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/0.7955, allocations: 71.97 kB / 454.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03535/0.8309, allocations: 7.557 MB / 461.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.553e-06/0.831, allocations: 0 / 461.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.866e-05/0.8311, allocations: 4 kB / 461.6 MB, free: 10.68 MB / 346.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.001851/0.8329, allocations: 0.5145 MB / 462.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.58e-05/0.833, allocations: 12.03 kB / 462.2 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.8336, allocations: 28.73 kB / 462.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.834, allocations: 217 kB / 462.4 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.8341, allocations: 8.359 kB / 462.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.8342, allocations: 12.38 kB / 462.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.8347, allocations: 120.8 kB / 462.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.8347, allocations: 192 / 462.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.8348, allocations: 7.938 kB / 462.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8348, allocations: 0 / 462.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.8351, allocations: 79.88 kB / 462.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.8364, allocations: 0.571 MB / 463.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.837, allocations: 171.7 kB / 463.4 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.8372, allocations: 62.55 kB / 463.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.8373, allocations: 8 kB / 463.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/0.8378, allocations: 156 kB / 463.6 MB, free: 8.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.386e-06/0.8378, allocations: 0 / 463.6 MB, free: 8.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009733/0.8388, allocations: 273.4 kB / 463.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.8389, allocations: 110.8 kB / 464 MB, free: 8.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.8393, allocations: 203 kB / 464.2 MB, free: 7.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/0.8394, allocations: 45.81 kB / 464.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.8396, allocations: 112.6 kB / 464.3 MB, free: 7.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.8396, allocations: 47.44 kB / 464.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.8397, allocations: 4 kB / 464.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002844/0.84, allocations: 330.8 kB / 464.7 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.8403, allocations: 95.95 kB / 464.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.8407, allocations: 141.5 kB / 464.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.8414, allocations: 224.7 kB / 465.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8415, allocations: 0 / 465.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001006/0.8425, allocations: 289.4 kB / 465.4 MB, free: 6.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.8425, allocations: 11.98 kB / 465.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.8426, allocations: 4 kB / 465.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.8426, allocations: 0 / 465.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.8429, allocations: 35.92 kB / 465.5 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.8429, allocations: 0 / 465.5 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.8431, allocations: 31.67 kB / 465.5 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.8431, allocations: 12 kB / 465.5 MB, free: 6.488 MB / 346.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): 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.0002944/0.8434, allocations: 158.4 kB / 465.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.8435, allocations: 15.81 kB / 465.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.8436, allocations: 17.39 kB / 465.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.8436, allocations: 0 / 465.7 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.8436, allocations: 4 kB / 465.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8436, allocations: 0 / 465.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.844, allocations: 217.5 kB / 465.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.844, allocations: 4 kB / 465.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.8441, allocations: 19.98 kB / 466 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.8441, allocations: 0 / 466 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.8441, allocations: 4 kB / 466 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-05/0.8442, allocations: 3.984 kB / 466 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.8442, allocations: 4 kB / 466 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.8449, allocations: 250.4 kB / 466.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.8451, allocations: 96.84 kB / 466.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.8452, allocations: 12 kB / 466.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.8453, allocations: 7.984 kB / 466.3 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8454, allocations: 19.97 kB / 466.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.8454, allocations: 8 kB / 466.4 MB, free: 5.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002695/0.8457, allocations: 137.2 kB / 466.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8457, allocations: 0 / 466.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001329/0.8471, allocations: 159.8 kB / 466.6 MB, free: 5.273 MB / 346.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.00178/0.8489, allocations: 408.9 kB / 467 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008673/0.8498, allocations: 256.9 kB / 467.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.8498, allocations: 0 / 467.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.8501, allocations: 71.91 kB / 467.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.8504, allocations: 12.23 kB / 467.4 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009732/0.8514, allocations: 333.7 kB / 467.7 MB, free: 4.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.8521, allocations: 0.7123 MB / 468.4 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.8522, allocations: 19.44 kB / 468.4 MB, free: 3.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.743e-05/0.8522, allocations: 0 / 468.4 MB, free: 3.43 MB / 346.7 MB Notification: Performance of Templates: time 0.0138/0.866, allocations: 4.19 MB / 472.6 MB, free: 15.24 MB / 362.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/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_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches