Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.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.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 179.7 kB / 8.152 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001254/0.001254, allocations: 95.02 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/9.067e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.3545, allocations: 75.35 MB / 437.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.3548, allocations: 67.95 kB / 437.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007562/0.3624, allocations: 1.362 MB / 438.6 MB, free: 9.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3625, allocations: 0 / 438.6 MB, free: 9.316 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004524/0.3629, allocations: 380.4 kB / 439 MB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.363, allocations: 8.031 kB / 439 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/0.3635, allocations: 54.61 kB / 439 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3637, allocations: 182.9 kB / 439.2 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3638, allocations: 4 kB / 439.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3638, allocations: 7.391 kB / 439.2 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001696/0.364, allocations: 32 kB / 439.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.3642, allocations: 62.42 kB / 439.3 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3642, allocations: 7.094 kB / 439.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3642, allocations: 0 / 439.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3643, allocations: 7.984 kB / 439.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.3652, allocations: 333.2 kB / 439.7 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.3653, allocations: 50.42 kB / 439.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.3654, allocations: 24.97 kB / 439.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3655, allocations: 0 / 439.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3655, allocations: 34.56 kB / 439.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.3655, allocations: 0 / 439.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002777/0.3658, allocations: 65.59 kB / 439.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.3658, allocations: 54.22 kB / 439.9 MB, free: 7.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.366, allocations: 101 kB / 440 MB, free: 7.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.366, allocations: 25.7 kB / 440 MB, free: 7.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.3661, allocations: 170.4 kB / 440.2 MB, free: 7.582 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3661, allocations: 7.812 kB / 440.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.3661, allocations: 0 / 440.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3663, allocations: 322.8 kB / 440.5 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.3663, allocations: 15.94 kB / 440.5 MB, free: 7.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.3664, allocations: 12 kB / 440.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.3665, allocations: 12 kB / 440.5 MB, free: 7.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3665, allocations: 0 / 440.5 MB, free: 7.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001778/0.3667, allocations: 57.59 kB / 440.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3667, allocations: 8 kB / 440.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3667, allocations: 0 / 440.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3667, allocations: 3.984 kB / 440.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.367, allocations: 31.92 kB / 440.6 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.367, allocations: 7.25 kB / 440.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3672, allocations: 15.92 kB / 440.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3672, allocations: 4 kB / 440.7 MB, free: 7.082 MB / 330.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 6.632e-05/0.3673, allocations: 29.7 kB / 440.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3674, allocations: 11.84 kB / 440.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3676, allocations: 73.72 kB / 440.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3676, allocations: 0 / 440.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3677, allocations: 0 / 440.8 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3677, allocations: 7.906 kB / 440.8 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.3679, allocations: 158.2 kB / 440.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3679, allocations: 0 / 440.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3682, allocations: 27.98 kB / 441 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3682, allocations: 0 / 441 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3682, allocations: 3.984 kB / 441 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3683, allocations: 1.125 kB / 441 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3683, allocations: 0 / 441 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002448/0.3685, allocations: 179.3 kB / 441.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.3686, allocations: 77.11 kB / 441.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.3686, allocations: 3.906 kB / 441.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3688, allocations: 17.61 kB / 441.2 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3689, allocations: 3.984 kB / 441.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3689, allocations: 4 kB / 441.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.8e-05/0.369, allocations: 94.23 kB / 441.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.3693, allocations: 8 kB / 441.4 MB, free: 6.32 MB / 330.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.0001343/0.3694, allocations: 91.25 kB / 441.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.3696, allocations: 35.98 kB / 441.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3696, allocations: 5.031 kB / 441.5 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.3697, allocations: 23.94 kB / 441.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.37, allocations: 3.906 kB / 441.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.3706, allocations: 167.6 kB / 441.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.371, allocations: 0.7161 MB / 442.4 MB, free: 5.219 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.371, allocations: 0 / 442.4 MB, free: 5.219 MB / 330.7 MB Notification: Performance of Templates: time 0.00321/0.3743, allocations: 0.9427 MB / 443.3 MB, free: 4.289 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches