Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001962/0.003276, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.003048, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8802/0.8802, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1466/1.027, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2e-05, allocations: 2.312 kB / 239.8 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001933/0.001953, allocations: 1.648 MB / 241.4 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005803/0.002533, allocations: 0.5228 MB / 241.9 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.002574, allocations: 4 kB / 241.9 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.0026, allocations: 8.625 kB / 241.9 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.002642, allocations: 8.562 kB / 242 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.00277, allocations: 40.55 kB / 242 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.652e-05/0.002836, allocations: 48.5 kB / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.002921, allocations: 23.92 kB / 242.1 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.002984, allocations: 38.42 kB / 242.1 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.003035, allocations: 19.92 kB / 242.1 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003049, allocations: 4 kB / 242.1 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.003193, allocations: 43.91 kB / 242.2 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.00321, allocations: 11.94 kB / 242.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.003226, allocations: 11.94 kB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.003346, allocations: 65.22 kB / 242.3 MB, free: 3.852 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.649e-06/0.003356, allocations: 0 / 242.3 MB, free: 3.852 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003357, allocations: 0 / 242.3 MB, free: 3.852 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.003365, allocations: 0 / 242.3 MB, free: 3.852 MB / 234.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.0003209/0.003686, allocations: 289.1 kB / 242.5 MB, free: 3.547 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.003715, allocations: 8.031 kB / 242.5 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.003973, allocations: 131.1 kB / 242.7 MB, free: 3.395 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.004049, allocations: 128.8 kB / 242.8 MB, free: 3.246 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.004062, allocations: 4.312 kB / 242.8 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.004076, allocations: 8.375 kB / 242.8 MB, free: 3.234 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.004199, allocations: 89.97 kB / 242.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.004205, allocations: 0 / 242.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.004212, allocations: 0 / 242.9 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004217, allocations: 4 kB / 242.9 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.004251, allocations: 27.92 kB / 242.9 MB, free: 3.109 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.004529, allocations: 209.3 kB / 243.1 MB, free: 2.891 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/0.004604, allocations: 47.55 kB / 243.2 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.004623, allocations: 8.859 kB / 243.2 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.004634, allocations: 4 kB / 243.2 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.004651, allocations: 33.56 kB / 243.2 MB, free: 2.781 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.004652, allocations: 0 / 243.2 MB, free: 2.781 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001137/0.004765, allocations: 53.81 kB / 243.3 MB, free: 2.723 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.00479, allocations: 55.34 kB / 243.3 MB, free: 2.656 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.004841, allocations: 122.6 kB / 243.5 MB, free: 2.523 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.004849, allocations: 25.7 kB / 243.5 MB, free: 2.492 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.004878, allocations: 96.02 kB / 243.6 MB, free: 2.395 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.004898, allocations: 19.89 kB / 243.6 MB, free: 2.375 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.004924, allocations: 14.69 kB / 243.6 MB, free: 2.355 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.004987, allocations: 322.8 kB / 243.9 MB, free: 2.031 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.005002, allocations: 4.906 kB / 243.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.005013, allocations: 4 kB / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.005045, allocations: 22.62 kB / 243.9 MB, free: 2 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.005047, allocations: 4 kB / 244 MB, free: 1.996 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.394e-05/0.005101, allocations: 41.69 kB / 244 MB, free: 1.949 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005111, allocations: 7.938 kB / 244 MB, free: 1.941 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.005116, allocations: 4 kB / 244 MB, free: 1.938 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005129, allocations: 4.641 kB / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.005205, allocations: 16.67 kB / 244 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.005208, allocations: 0 / 244 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.005233, allocations: 10.34 kB / 244 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005238, allocations: 3.984 kB / 244 MB, free: 1.906 MB / 234.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.005287, allocations: 117.8 kB / 244.2 MB, free: 1.781 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.005301, allocations: 4 kB / 244.2 MB, free: 1.777 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.354e-05/0.005395, allocations: 63.27 kB / 244.2 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005397, allocations: 0 / 244.2 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.0054, allocations: 7.984 kB / 244.2 MB, free: 1.699 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005402, allocations: 4.562 kB / 244.2 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.086e-05/0.005493, allocations: 93.69 kB / 244.3 MB, free: 1.586 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005494, allocations: 0.5938 kB / 244.3 MB, free: 1.586 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.005543, allocations: 20.52 kB / 244.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-06/0.005548, allocations: 0.5 kB / 244.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005549, allocations: 0 / 244.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.005555, allocations: 4.812 kB / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005556, allocations: 0 / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.005557, allocations: 1.656 kB / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.73e-05/0.005634, allocations: 147.5 kB / 244.5 MB, free: 1.402 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.005645, allocations: 7.984 kB / 244.5 MB, free: 1.395 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.005683, allocations: 7.984 kB / 244.5 MB, free: 1.387 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.005706, allocations: 4 kB / 244.5 MB, free: 1.383 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.00571, allocations: 7.938 kB / 244.5 MB, free: 1.375 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.571e-05/0.005726, allocations: 16.84 kB / 244.5 MB, free: 1.355 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005726, allocations: 0 / 244.5 MB, free: 1.355 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.005841, allocations: 15.95 kB / 244.6 MB, free: 1.34 MB / 234.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.082e-05/0.005912, allocations: 76.41 kB / 244.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.005978, allocations: 32.78 kB / 244.7 MB, free: 1.223 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.005983, allocations: 0 / 244.7 MB, free: 1.223 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.006012, allocations: 20.84 kB / 244.7 MB, free: 1.199 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.006167, allocations: 75.83 kB / 244.8 MB, free: 1.113 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.006545, allocations: 180.1 kB / 244.9 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.006578, allocations: 67.28 kB / 245 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.006611, allocations: 8 kB / 245 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.006672, allocations: 59.36 kB / 245.1 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of SimCode: time 4.91e-07/0.006673, allocations: 0 / 245.1 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of Templates: time 0.002304/0.008976, allocations: 0.8969 MB / 246 MB, free: 15.88 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.263005052693188]