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.0009136/0.0009136, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009429/0.0009429, allocations: 146 kB / 24.89 MB, free: 8.73 MB / 18.57 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.9115/0.9115, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.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 2.064e-06/2.064e-06, allocations: 0 / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.94e-05, allocations: 2.312 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001857/0.001876, allocations: 1.598 MB / 270.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006645/0.002541, allocations: 0.5257 MB / 270.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.002584, allocations: 0 / 270.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.002611, allocations: 3.938 kB / 270.6 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.002675, allocations: 11.88 kB / 270.6 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.002862, allocations: 59.75 kB / 270.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.987e-05/0.002952, allocations: 51.84 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.003037, allocations: 15.92 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/0.003088, allocations: 31.97 kB / 270.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.00313, allocations: 15.92 kB / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003146, allocations: 4 kB / 270.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.003266, allocations: 39.91 kB / 270.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.003283, allocations: 19.91 kB / 270.8 MB, free: 3.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.003301, allocations: 15.94 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.003411, allocations: 75.72 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003413, allocations: 0 / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003414, allocations: 0 / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003416, allocations: 0 / 270.9 MB, free: 3.539 MB / 250.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.0002619/0.003678, allocations: 276.6 kB / 271.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.003708, allocations: 12.92 kB / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.003915, allocations: 44.89 kB / 271.3 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.003983, allocations: 117.6 kB / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.003995, allocations: 8.312 kB / 271.4 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.004007, allocations: 12.38 kB / 271.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.004123, allocations: 86.09 kB / 271.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.004129, allocations: 3.938 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004138, allocations: 7.984 kB / 271.5 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004143, allocations: 4 kB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.004176, allocations: 11.98 kB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.00445, allocations: 216 kB / 271.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.004514, allocations: 38.56 kB / 271.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.004532, allocations: 12.86 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.004543, allocations: 0 / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.004561, allocations: 34.56 kB / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.004562, allocations: 0 / 271.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001269/0.004689, allocations: 57.75 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.00472, allocations: 55.41 kB / 271.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.125e-05/0.004772, allocations: 118.7 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004781, allocations: 25.7 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.004811, allocations: 100 kB / 272.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.004828, allocations: 11.89 kB / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.004855, allocations: 17.72 kB / 272.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.00492, allocations: 326.8 kB / 272.5 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.004934, allocations: 8 kB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.004946, allocations: 4 kB / 272.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.004982, allocations: 16.84 kB / 272.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004983, allocations: 0 / 272.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.278e-05/0.005036, allocations: 49.62 kB / 272.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.005045, allocations: 4 kB / 272.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.005048, allocations: 0 / 272.6 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.00506, allocations: 3.984 kB / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.005126, allocations: 16 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.005129, allocations: 3.984 kB / 272.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.005156, allocations: 19.83 kB / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005161, allocations: 4 kB / 272.6 MB, free: 1.691 MB / 250.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 5.047e-05/0.005212, allocations: 113.8 kB / 272.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.005227, allocations: 7.984 kB / 272.7 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.692e-05/0.005314, allocations: 65.73 kB / 272.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005315, allocations: 0 / 272.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005317, allocations: 4 kB / 272.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005319, allocations: 0 / 272.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.959e-05/0.005409, allocations: 85.94 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005411, allocations: 0.5 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.00545, allocations: 15.98 kB / 272.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005452, allocations: 0 / 272.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.005458, allocations: 4 kB / 272.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.005459, allocations: 3.984 kB / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00546, allocations: 0 / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.004e-05/0.00554, allocations: 151.4 kB / 273.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.005549, allocations: 11.95 kB / 273.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.005557, allocations: 4 kB / 273.1 MB, free: 1.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.005594, allocations: 7.984 kB / 273.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.00562, allocations: 7.984 kB / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.005623, allocations: 4 kB / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.591e-05/0.005639, allocations: 16.84 kB / 273.1 MB, free: 1.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005639, allocations: 0 / 273.1 MB, free: 1.141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001128/0.005752, allocations: 8 kB / 273.1 MB, free: 1.133 MB / 250.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 6.761e-05/0.00582, allocations: 76.41 kB / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.005895, allocations: 28.86 kB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.005897, allocations: 0 / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.005918, allocations: 20.78 kB / 273.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.006034, allocations: 11.94 kB / 273.3 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.006277, allocations: 176.1 kB / 273.4 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.006308, allocations: 59.34 kB / 273.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.006337, allocations: 8 kB / 273.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.006392, allocations: 63.3 kB / 273.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of SimCode: time 6.32e-07/0.006392, allocations: 0 / 273.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of Templates: time 0.00222/0.008612, allocations: 0.8619 MB / 274.4 MB, free: 15.78 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4702597307041287]