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.001185/0.001185, allocations: 76.81 kB / 22.28 MB, free: 2.203 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.001549/0.001549, allocations: 168.4 kB / 25.7 MB, free: 8.434 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.9987/0.9987, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.603e-06/1.603e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.564e-05, allocations: 2.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002524/0.002549, allocations: 1.636 MB / 253.2 MB, free: 5.562 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.003466, allocations: 0.5696 MB / 253.8 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.003525, allocations: 0 / 253.8 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.003563, allocations: 3.938 kB / 253.8 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.003662, allocations: 11.88 kB / 253.8 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.003898, allocations: 47.77 kB / 253.8 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.003979, allocations: 59.78 kB / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.004071, allocations: 15.98 kB / 253.9 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.004123, allocations: 31.91 kB / 253.9 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.004167, allocations: 15.97 kB / 254 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.004182, allocations: 8 kB / 254 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.004366, allocations: 43.84 kB / 254 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004385, allocations: 11.97 kB / 254 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.004407, allocations: 19.94 kB / 254 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.004552, allocations: 63.8 kB / 254.1 MB, free: 4.656 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004555, allocations: 4 kB / 254.1 MB, free: 4.652 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.004556, allocations: 0 / 254.1 MB, free: 4.652 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.004562, allocations: 7.922 kB / 254.1 MB, free: 4.645 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.00029/0.004852, allocations: 276.6 kB / 254.4 MB, free: 4.352 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.004886, allocations: 11.98 kB / 254.4 MB, free: 4.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.005129, allocations: 56.84 kB / 254.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.653e-05/0.005205, allocations: 117.6 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.005221, allocations: 4.375 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.005231, allocations: 8.375 kB / 254.6 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005356, allocations: 85.78 kB / 254.7 MB, free: 4.043 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.005362, allocations: 192 / 254.7 MB, free: 4.043 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005372, allocations: 8.359 kB / 254.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005377, allocations: 3.938 kB / 254.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.005415, allocations: 19.92 kB / 254.7 MB, free: 4.012 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.005727, allocations: 204.1 kB / 254.9 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.005799, allocations: 42.5 kB / 254.9 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.005821, allocations: 16.84 kB / 255 MB, free: 3.727 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.005833, allocations: 0 / 255 MB, free: 3.727 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.005852, allocations: 34.56 kB / 255 MB, free: 3.684 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.005852, allocations: 0 / 255 MB, free: 3.684 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001233/0.005976, allocations: 53.75 kB / 255 MB, free: 3.625 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.006005, allocations: 51.41 kB / 255.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.00606, allocations: 114.7 kB / 255.2 MB, free: 3.438 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.006072, allocations: 29.69 kB / 255.2 MB, free: 3.402 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.006108, allocations: 100 kB / 255.3 MB, free: 3.301 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.006131, allocations: 19.84 kB / 255.4 MB, free: 3.281 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.00616, allocations: 13.72 kB / 255.4 MB, free: 3.262 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.006235, allocations: 326.8 kB / 255.7 MB, free: 2.934 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.006253, allocations: 4 kB / 255.7 MB, free: 2.93 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.006266, allocations: 4 kB / 255.7 MB, free: 2.926 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.006304, allocations: 20.84 kB / 255.7 MB, free: 2.902 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006307, allocations: 3.938 kB / 255.7 MB, free: 2.898 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.605e-05/0.006373, allocations: 50 kB / 255.8 MB, free: 2.844 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.006384, allocations: 4 kB / 255.8 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006388, allocations: 4 kB / 255.8 MB, free: 2.836 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.006398, allocations: 4 kB / 255.8 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.006477, allocations: 19.98 kB / 255.8 MB, free: 2.812 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.006479, allocations: 0 / 255.8 MB, free: 2.812 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.006514, allocations: 11.92 kB / 255.8 MB, free: 2.801 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00652, allocations: 8 kB / 255.8 MB, free: 2.793 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 5.62e-05/0.006576, allocations: 109.8 kB / 255.9 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.006597, allocations: 7.984 kB / 255.9 MB, free: 2.668 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.006696, allocations: 65.72 kB / 256 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006699, allocations: 4 kB / 256 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006701, allocations: 0 / 256 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006703, allocations: 4 kB / 256 MB, free: 2.59 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.597e-05/0.006799, allocations: 77.88 kB / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006801, allocations: 4 kB / 256.1 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.006851, allocations: 15.98 kB / 256.1 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.006854, allocations: 3.938 kB / 256.1 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.00686, allocations: 3.984 kB / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.006862, allocations: 0 / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006863, allocations: 0 / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.197e-05/0.006955, allocations: 147.5 kB / 256.2 MB, free: 2.309 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.006963, allocations: 7.891 kB / 256.3 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.006972, allocations: 8 kB / 256.3 MB, free: 2.293 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.007014, allocations: 7.984 kB / 256.3 MB, free: 2.285 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.007038, allocations: 7.984 kB / 256.3 MB, free: 2.277 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.007043, allocations: 4 kB / 256.3 MB, free: 2.273 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.007058, allocations: 12.84 kB / 256.3 MB, free: 2.258 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007058, allocations: 4 kB / 256.3 MB, free: 2.254 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001265/0.007185, allocations: 8 kB / 256.3 MB, free: 2.246 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.663e-05/0.007262, allocations: 76.41 kB / 256.4 MB, free: 2.16 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.275e-05/0.007334, allocations: 24.98 kB / 256.4 MB, free: 2.133 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.007337, allocations: 8 kB / 256.4 MB, free: 2.125 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.007364, allocations: 20.78 kB / 256.4 MB, free: 2.102 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.007501, allocations: 11.94 kB / 256.4 MB, free: 2.09 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.007775, allocations: 179.2 kB / 256.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.007818, allocations: 59.34 kB / 256.7 MB, free: 1.812 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.265e-05/0.007851, allocations: 8 kB / 256.7 MB, free: 1.805 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.007913, allocations: 59.36 kB / 256.7 MB, free: 1.746 MB / 234.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007913, allocations: 0 / 256.7 MB, free: 1.746 MB / 234.7 MB Notification: Performance of Templates: time 0.002376/0.01029, allocations: 0.8553 MB / 257.6 MB, free: 0.8984 MB / 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 -s gbode -gbm=radauIIA3 -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.6795531190000474]