Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008684/0.0008684, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.639e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002234/0.00226, allocations: 1.663 MB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.003034, allocations: 0.5725 MB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.003078, allocations: 0 / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.003107, allocations: 3.938 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.003182, allocations: 15.81 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.003386, allocations: 51.75 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.003459, allocations: 47.84 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.003552, allocations: 19.98 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.003607, allocations: 31.91 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.003661, allocations: 19.91 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.003677, allocations: 4 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.003954, allocations: 55.89 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.003973, allocations: 11.92 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.003997, allocations: 19.94 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.00414, allocations: 75.7 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004143, allocations: 0 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004143, allocations: 0 / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.004148, allocations: 4 kB / 276 MB, free: 14.42 MB / 266.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.0003418/0.00449, allocations: 280.6 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.00453, allocations: 11.98 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.004819, allocations: 52.83 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.004912, allocations: 125.6 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.00493, allocations: 8.375 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.004941, allocations: 4.375 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.00508, allocations: 86.91 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005088, allocations: 4.188 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005098, allocations: 384 / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005105, allocations: 7.938 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.005146, allocations: 19.92 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.005493, allocations: 204.2 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.005567, allocations: 46.42 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.005588, allocations: 12.86 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.0056, allocations: 0 / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.005625, allocations: 42.62 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.005627, allocations: 0 / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001344/0.005761, allocations: 53.67 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.005796, allocations: 55.34 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.005868, allocations: 118.7 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.005881, allocations: 29.7 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.005921, allocations: 96.02 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.005949, allocations: 23.78 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.005981, allocations: 21.7 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.006073, allocations: 314.8 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.006087, allocations: 8 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.006103, allocations: 7.984 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.006139, allocations: 20.84 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006142, allocations: 3.938 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.837e-05/0.00621, allocations: 49.62 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006223, allocations: 8 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006227, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.006238, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.006314, allocations: 16.42 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.006319, allocations: 0 / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.006346, allocations: 11.98 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.006352, allocations: 4 kB / 277.7 MB, free: 12.55 MB / 266.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.164e-05/0.006414, allocations: 109.8 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.00643, allocations: 8 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.006531, allocations: 61.78 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006534, allocations: 7.938 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.006536, allocations: 0 / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.00654, allocations: 0 / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.006648, allocations: 85.88 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.006648, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.006697, allocations: 15.98 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0067, allocations: 3.938 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006708, allocations: 11.92 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006708, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.00671, allocations: 0 / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.552e-05/0.006805, allocations: 143.5 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.006816, allocations: 11.89 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.006827, allocations: 7.984 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.006866, allocations: 8 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.006885, allocations: 7.922 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.00689, allocations: 4 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.659e-05/0.006907, allocations: 12.86 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006907, allocations: 0 / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001123/0.007019, allocations: 11.94 kB / 278.2 MB, free: 12 MB / 266.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.437e-05/0.007093, allocations: 80.41 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.007166, allocations: 20.84 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.007169, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.007189, allocations: 20.8 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.00732, allocations: 12.36 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.007577, allocations: 172.1 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.007617, allocations: 59.36 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.709e-05/0.007644, allocations: 3.984 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.007699, allocations: 59.38 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0077, allocations: 0 / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Templates: time 0.002208/0.009907, allocations: 0.8112 MB / 279.5 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5459222397767007]