Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 203 kB / 8.543 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000933/0.0009331, allocations: 88.16 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.285e-06, allocations: 4 kB / 343.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.07958, allocations: 51.48 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.2999, allocations: 77 MB / 471.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.3002, allocations: 72.19 kB / 471.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004441/0.3046, allocations: 1.48 MB / 473.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3047, allocations: 4 kB / 473.2 MB, free: 13.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002596/0.305, allocations: 370.7 kB / 473.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.305, allocations: 8.031 kB / 473.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.3054, allocations: 60.73 kB / 473.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.153e-05/0.3055, allocations: 171.1 kB / 473.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3055, allocations: 7.125 kB / 473.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3056, allocations: 8.125 kB / 473.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/0.3057, allocations: 33.62 kB / 473.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3058, allocations: 69.69 kB / 473.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3058, allocations: 0 / 473.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3058, allocations: 0 / 473.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.3058, allocations: 0 / 473.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.3063, allocations: 347.7 kB / 474.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.79e-05/0.3064, allocations: 49.3 kB / 474.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.3065, allocations: 23.02 kB / 474.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3065, allocations: 7.094 kB / 474.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3065, allocations: 38.22 kB / 474.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3065, allocations: 0 / 474.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001947/0.3067, allocations: 67.17 kB / 474.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.3068, allocations: 55.41 kB / 474.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.676e-05/0.3068, allocations: 103.8 kB / 474.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3068, allocations: 25.7 kB / 474.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.3069, allocations: 95.31 kB / 474.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.3069, allocations: 19.38 kB / 474.7 MB, free: 12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.3069, allocations: 0 / 474.7 MB, free: 12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.307, allocations: 317.7 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.307, allocations: 11.81 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.307, allocations: 14.44 kB / 475 MB, free: 11.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.3071, allocations: 11.3 kB / 475 MB, free: 11.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3071, allocations: 0 / 475 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.356e-05/0.3072, allocations: 67.67 kB / 475.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.3072, allocations: 8 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3072, allocations: 4 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.3072, allocations: 0 / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3074, allocations: 22.8 kB / 475.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.3074, allocations: 0 / 475.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.3075, allocations: 25.14 kB / 475.2 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3075, allocations: 4 kB / 475.2 MB, free: 11.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 4.182e-05/0.3075, allocations: 101 kB / 475.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3076, allocations: 7.906 kB / 475.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.3077, allocations: 77.66 kB / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3077, allocations: 0 / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3077, allocations: 0 / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3077, allocations: 8 kB / 475.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3079, allocations: 168.6 kB / 475.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3079, allocations: 0 / 475.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.308, allocations: 26.75 kB / 475.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.308, allocations: 3.938 kB / 475.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.308, allocations: 0.875 kB / 475.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.308, allocations: 1.688 kB / 475.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.308, allocations: 0 / 475.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001386/0.3082, allocations: 171.5 kB / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.3082, allocations: 81.02 kB / 475.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3082, allocations: 0 / 475.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3084, allocations: 15.14 kB / 475.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3084, allocations: 11.08 kB / 475.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3084, allocations: 4 kB / 475.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.627e-05/0.3084, allocations: 90.3 kB / 475.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.3087, allocations: 11.91 kB / 475.9 MB, free: 10.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001296/0.3088, allocations: 91.25 kB / 476 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3089, allocations: 41.5 kB / 476.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3089, allocations: 0 / 476.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.309, allocations: 21.19 kB / 476.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.3092, allocations: 15.58 kB / 476.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.3095, allocations: 124 kB / 476.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3097, allocations: 0.7128 MB / 476.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3097, allocations: 0 / 476.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of Templates: time 0.002475/0.3122, allocations: 0.8358 MB / 477.8 MB, free: 9.367 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches