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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 176.2 kB / 26.4 MB, free: 7.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9254/0.9254, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.197e-05, allocations: 2.312 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00188/0.001892, allocations: 1.596 MB / 253.9 MB, free: 5.633 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.002568, allocations: 0.5541 MB / 254.4 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.002607, allocations: 4 kB / 254.4 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.002626, allocations: 7.922 kB / 254.4 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.002671, allocations: 11.81 kB / 254.4 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.002802, allocations: 43.89 kB / 254.5 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.002857, allocations: 59.78 kB / 254.5 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.002916, allocations: 11.98 kB / 254.5 MB, free: 4.934 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.002947, allocations: 27.98 kB / 254.6 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.93e-05/0.002976, allocations: 19.89 kB / 254.6 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.002985, allocations: 4 kB / 254.6 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.003081, allocations: 43.91 kB / 254.6 MB, free: 4.84 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.003095, allocations: 15.92 kB / 254.7 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.425e-05/0.003109, allocations: 15.92 kB / 254.7 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.003201, allocations: 71.73 kB / 254.7 MB, free: 4.738 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003204, allocations: 4 kB / 254.7 MB, free: 4.734 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.003204, allocations: 0 / 254.7 MB, free: 4.734 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003207, allocations: 4 kB / 254.7 MB, free: 4.73 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.0002359/0.003443, allocations: 400.2 kB / 255.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.315e-05/0.003466, allocations: 15.98 kB / 255.2 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.003664, allocations: 52.8 kB / 255.2 MB, free: 4.238 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.00372, allocations: 120.5 kB / 255.3 MB, free: 4.094 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.003729, allocations: 4.375 kB / 255.3 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.003738, allocations: 12.38 kB / 255.3 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.003835, allocations: 78.84 kB / 255.4 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-06/0.003839, allocations: 192 / 255.4 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.003845, allocations: 8.375 kB / 255.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.00385, allocations: 3.938 kB / 255.4 MB, free: 3.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.003883, allocations: 15.98 kB / 255.4 MB, free: 3.965 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.00441, allocations: 300.2 kB / 255.7 MB, free: 3.645 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/0.004473, allocations: 47.05 kB / 255.8 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.004494, allocations: 19.67 kB / 255.8 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.0045, allocations: 0 / 255.8 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.004516, allocations: 37.39 kB / 255.8 MB, free: 3.512 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 4.91e-07/0.004517, allocations: 0 / 255.8 MB, free: 3.512 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.000109/0.004626, allocations: 65.7 kB / 255.9 MB, free: 3.441 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.004646, allocations: 51.41 kB / 256 MB, free: 3.379 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.004707, allocations: 173.9 kB / 256.1 MB, free: 3.191 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.004716, allocations: 25.7 kB / 256.1 MB, free: 3.16 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.00476, allocations: 146.8 kB / 256.3 MB, free: 3.012 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.004774, allocations: 19.83 kB / 256.3 MB, free: 2.992 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.004803, allocations: 31.36 kB / 256.3 MB, free: 2.953 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.004908, allocations: 496.1 kB / 256.8 MB, free: 2.457 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.004922, allocations: 4 kB / 256.8 MB, free: 2.453 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.004934, allocations: 4 kB / 256.8 MB, free: 2.449 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.004971, allocations: 31.55 kB / 256.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004972, allocations: 0 / 256.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.609e-05/0.005038, allocations: 58.02 kB / 256.9 MB, free: 2.352 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.005048, allocations: 4 kB / 256.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005051, allocations: 0 / 256.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.005061, allocations: 64 / 256.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.005121, allocations: 23.98 kB / 256.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.005124, allocations: 0 / 256.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.005153, allocations: 11.94 kB / 257 MB, free: 2.312 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.005158, allocations: 0 / 257 MB, free: 2.312 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 6.357e-05/0.005221, allocations: 168.5 kB / 257.1 MB, free: 2.137 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.005246, allocations: 11.89 kB / 257.1 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.005347, allocations: 65.8 kB / 257.2 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005348, allocations: 0 / 257.2 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.00535, allocations: 4 kB / 257.2 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005353, allocations: 0 / 257.2 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.005452, allocations: 113.2 kB / 257.3 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005454, allocations: 3.984 kB / 257.3 MB, free: 1.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.005497, allocations: 19.92 kB / 257.3 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.005498, allocations: 0 / 257.3 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.005504, allocations: 3.984 kB / 257.3 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.005506, allocations: 4 kB / 257.3 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005507, allocations: 0 / 257.3 MB, free: 1.883 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.005609, allocations: 207.8 kB / 257.5 MB, free: 1.66 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.005618, allocations: 11.89 kB / 257.6 MB, free: 1.648 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.005628, allocations: 4 kB / 257.6 MB, free: 1.645 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.005669, allocations: 7.984 kB / 257.6 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.005694, allocations: 4 kB / 257.6 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.005699, allocations: 7.984 kB / 257.6 MB, free: 1.625 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.005733, allocations: 131.2 kB / 257.7 MB, free: 1.496 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005733, allocations: 0 / 257.7 MB, free: 1.496 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.005874, allocations: 11.94 kB / 257.7 MB, free: 1.484 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 6.296e-05/0.005937, allocations: 95.23 kB / 257.8 MB, free: 1.379 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.986e-05/0.006016, allocations: 43.73 kB / 257.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.82e-07/0.006017, allocations: 0 / 257.9 MB, free: 1.332 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.27e-05/0.00604, allocations: 15.69 kB / 257.9 MB, free: 1.312 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.006205, allocations: 11.98 kB / 257.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.006448, allocations: 180.9 kB / 258.1 MB, free: 1.098 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.921e-05/0.006477, allocations: 55.36 kB / 258.1 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.006509, allocations: 11.98 kB / 258.1 MB, free: 1.012 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.006564, allocations: 78.14 kB / 258.2 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006564, allocations: 3.938 kB / 258.2 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of Templates: time 0.00219/0.008754, allocations: 0.875 MB / 259.1 MB, free: 64 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 240] 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","",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.7293324442580342]