Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001474/0.001474, allocations: 179.4 kB / 8.474 MB, free: 0.5273 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.2 MB / 214.1 MB, free: 8.516 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008507/0.0008508, allocations: 85.42 kB / 262.1 MB, free: 5.133 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.632e-06, allocations: 0 / 315 MB, free: 2 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09659, allocations: 47.57 MB / 362.5 MB, free: 2.309 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.3256, allocations: 75.33 MB / 437.9 MB, free: 12.25 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3258, allocations: 76.17 kB / 438 MB, free: 12.21 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.004303/0.3301, allocations: 1.359 MB / 439.3 MB, free: 11.11 MB / 322.8 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3302, allocations: 0 / 439.3 MB, free: 11.11 MB / 322.8 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.0002651/0.3304, allocations: 371.3 kB / 439.7 MB, free: 10.71 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3305, allocations: 12.03 kB / 439.7 MB, free: 10.7 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.3308, allocations: 55.84 kB / 439.7 MB, free: 10.64 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/0.3309, allocations: 175 kB / 439.9 MB, free: 10.43 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.331, allocations: 4 kB / 439.9 MB, free: 10.43 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.331, allocations: 4 kB / 439.9 MB, free: 10.42 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/0.3311, allocations: 37.98 kB / 440 MB, free: 10.4 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3312, allocations: 59.73 kB / 440 MB, free: 10.34 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3312, allocations: 4 kB / 440 MB, free: 10.34 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3312, allocations: 2.203 kB / 440 MB, free: 10.34 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3313, allocations: 4 kB / 440 MB, free: 10.34 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.3318, allocations: 336.4 kB / 440.4 MB, free: 9.992 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.3319, allocations: 56.8 kB / 440.4 MB, free: 9.941 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.332, allocations: 19.55 kB / 440.4 MB, free: 9.926 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.332, allocations: 0 / 440.4 MB, free: 9.926 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.332, allocations: 34.56 kB / 440.5 MB, free: 9.883 MB / 322.8 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.332, allocations: 0 / 440.5 MB, free: 9.883 MB / 322.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001942/0.3322, allocations: 68.16 kB / 440.5 MB, free: 9.82 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.3322, allocations: 51.41 kB / 440.6 MB, free: 9.758 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.3323, allocations: 107.7 kB / 440.7 MB, free: 9.652 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3323, allocations: 26.36 kB / 440.7 MB, free: 9.621 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.3324, allocations: 91.98 kB / 440.8 MB, free: 9.527 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3324, allocations: 15.23 kB / 440.8 MB, free: 9.516 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.3324, allocations: 0 / 440.8 MB, free: 9.516 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.3325, allocations: 323.7 kB / 441.1 MB, free: 9.195 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.3325, allocations: 11.56 kB / 441.1 MB, free: 9.188 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.3325, allocations: 14.92 kB / 441.2 MB, free: 9.18 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.3326, allocations: 12.28 kB / 441.2 MB, free: 9.172 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3326, allocations: 0 / 441.2 MB, free: 9.172 MB / 322.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.482e-05/0.3327, allocations: 67.53 kB / 441.2 MB, free: 9.109 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3327, allocations: 5.406 kB / 441.2 MB, free: 9.105 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3327, allocations: 6.25 kB / 441.2 MB, free: 9.102 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3327, allocations: 0 / 441.2 MB, free: 9.102 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3329, allocations: 27.97 kB / 441.3 MB, free: 9.074 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3329, allocations: 0 / 441.3 MB, free: 9.074 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.333, allocations: 27.11 kB / 441.3 MB, free: 9.051 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.333, allocations: 2.438 kB / 441.3 MB, free: 9.051 MB / 322.8 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 5.247e-05/0.333, allocations: 109 kB / 441.4 MB, free: 8.938 MB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3331, allocations: 3.906 kB / 441.4 MB, free: 8.934 MB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.3332, allocations: 77.42 kB / 441.5 MB, free: 8.871 MB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3333, allocations: 0 / 441.5 MB, free: 8.871 MB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3333, allocations: 3.938 kB / 441.5 MB, free: 8.867 MB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3333, allocations: 6.75 kB / 441.5 MB, free: 8.863 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3334, allocations: 163.9 kB / 441.7 MB, free: 8.676 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3334, allocations: 0 / 441.7 MB, free: 8.676 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3335, allocations: 27.98 kB / 441.7 MB, free: 8.648 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3336, allocations: 0 / 441.7 MB, free: 8.648 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3336, allocations: 2.062 kB / 441.7 MB, free: 8.648 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3336, allocations: 0 / 441.7 MB, free: 8.648 MB / 322.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3336, allocations: 0 / 441.7 MB, free: 8.648 MB / 322.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001254/0.3337, allocations: 170.1 kB / 441.9 MB, free: 8.48 MB / 322.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3338, allocations: 85.02 kB / 441.9 MB, free: 8.379 MB / 322.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3338, allocations: 0 / 441.9 MB, free: 8.379 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3339, allocations: 15.98 kB / 442 MB, free: 8.363 MB / 322.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3339, allocations: 0 / 442 MB, free: 8.363 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.3339, allocations: 7.297 kB / 442 MB, free: 8.359 MB / 322.8 MB Notification: Performance of sort global known variables: time 2.691e-05/0.334, allocations: 86.22 kB / 442 MB, free: 8.277 MB / 322.8 MB Notification: Performance of remove unused functions: time 0.0002164/0.3342, allocations: 19.91 kB / 442.1 MB, free: 8.258 MB / 322.8 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 9.404e-05/0.3343, allocations: 95.19 kB / 442.2 MB, free: 8.156 MB / 322.8 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3344, allocations: 37.61 kB / 442.2 MB, free: 8.133 MB / 322.8 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3344, allocations: 0 / 442.2 MB, free: 8.133 MB / 322.8 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.3345, allocations: 22.38 kB / 442.2 MB, free: 8.117 MB / 322.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3346, allocations: 9.938 kB / 442.2 MB, free: 8.113 MB / 322.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.335, allocations: 138.3 kB / 442.4 MB, free: 7.961 MB / 322.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3352, allocations: 0.7158 MB / 443.1 MB, free: 7.223 MB / 322.8 MB Notification: Performance of SimCode: time 2.4e-07/0.3352, allocations: 0 / 443.1 MB, free: 7.223 MB / 322.8 MB Notification: Performance of Templates: time 0.002555/0.3377, allocations: 0.8361 MB / 443.9 MB, free: 6.426 MB / 322.8 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches