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.001136/0.001136, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001087/0.001087, allocations: 165.5 kB / 24.82 MB, free: 9.258 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.009/1.009, allocations: 177 MB / 205.1 MB, free: 5.477 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 1.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.54e-05, allocations: 5.266 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002103/0.002139, allocations: 1.625 MB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000694/0.002833, allocations: 0.5492 MB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.002879, allocations: 4 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.002909, allocations: 7.922 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.169e-05/0.00298, allocations: 7.875 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.003173, allocations: 55.7 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.003243, allocations: 55.83 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.003332, allocations: 11.98 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.003381, allocations: 31.92 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.00343, allocations: 19.89 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003445, allocations: 8 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.00361, allocations: 51.95 kB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.003624, allocations: 15.92 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.00364, allocations: 11.94 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.003758, allocations: 79.66 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00376, allocations: 0 / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00376, allocations: 0 / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.003765, allocations: 3.984 kB / 275.9 MB, free: 14.67 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.0002956/0.00406, allocations: 404.3 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.004096, allocations: 15.98 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.004332, allocations: 52.8 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.186e-05/0.004403, allocations: 124.5 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004416, allocations: 4.375 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004426, allocations: 8.375 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004548, allocations: 86.91 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.004553, allocations: 192 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.004561, allocations: 384 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.004569, allocations: 7.938 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.004605, allocations: 19.98 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.004912, allocations: 308.2 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.004983, allocations: 47.03 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.005005, allocations: 15.81 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.005018, allocations: 0 / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.005036, allocations: 41.33 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.005037, allocations: 0 / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001294/0.005166, allocations: 65.62 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.005188, allocations: 51.41 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.005259, allocations: 177.9 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005269, allocations: 29.64 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.005315, allocations: 146.8 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.005334, allocations: 15.89 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.005363, allocations: 27.36 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.005463, allocations: 496.1 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.005482, allocations: 7.984 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.005502, allocations: 7.938 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.005541, allocations: 32 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005543, allocations: 7.984 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.192e-05/0.005605, allocations: 53.64 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005617, allocations: 7.125 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.00562, allocations: 0 / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/0.005628, allocations: 4 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.005695, allocations: 15.98 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.005698, allocations: 0 / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.005725, allocations: 11.88 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005731, allocations: 3.984 kB / 278.1 MB, free: 12.23 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 5.799e-05/0.005789, allocations: 164.5 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.005808, allocations: 11.95 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/0.005903, allocations: 65.78 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.005904, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005905, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005908, allocations: 4 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.006005, allocations: 117.2 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006006, allocations: 0 / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.006048, allocations: 19.92 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.00605, allocations: 4 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.006054, allocations: 3.938 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.006055, allocations: 0 / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006055, allocations: 0 / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.006156, allocations: 208.1 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.006163, allocations: 7.891 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.006175, allocations: 11.98 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.006215, allocations: 4 kB / 278.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.006229, allocations: 3.984 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.006233, allocations: 4 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.654e-05/0.00627, allocations: 139.1 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00627, allocations: 0 / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.006418, allocations: 16 kB / 278.9 MB, free: 11.4 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 6.212e-05/0.00648, allocations: 95.12 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.006547, allocations: 27.67 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006548, allocations: 4 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.00657, allocations: 23.67 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.006728, allocations: 4.766 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.006954, allocations: 185.7 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.096e-05/0.006985, allocations: 59.34 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.007011, allocations: 4 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.007068, allocations: 78.19 kB / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.007069, allocations: 0 / 279.3 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.00202/0.009088, allocations: 0.8098 MB / 280.2 MB, free: 10.05 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 -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.7423726241104305]