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.001035/0.001035, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.00143/0.00143, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.048/1.048, allocations: 177 MB / 204.8 MB, free: 5.242 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.383e-06/1.383e-06, allocations: 0 / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.725e-05, allocations: 9.266 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.005529/0.005557, allocations: 1.625 MB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.006583, allocations: 0.5532 MB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.006626, allocations: 0 / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.006657, allocations: 11.81 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.006729, allocations: 11.92 kB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.006958, allocations: 51.7 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.01008, allocations: 59.83 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.01021, allocations: 15.98 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.01028, allocations: 27.92 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.01034, allocations: 27.89 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.01036, allocations: 4 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.01063, allocations: 43.97 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.01065, allocations: 11.92 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.01068, allocations: 19.92 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.01085, allocations: 75.66 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.01086, allocations: 4 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.01086, allocations: 4 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.01087, allocations: 0 / 275.5 MB, free: 14.74 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.0004015/0.01127, allocations: 408.3 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01131, allocations: 11.98 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.01164, allocations: 52.8 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.788e-05/0.01174, allocations: 120.5 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.01176, allocations: 4.375 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.01177, allocations: 8.375 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.01195, allocations: 90.84 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.01196, allocations: 192 / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.01197, allocations: 4.375 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.01198, allocations: 7.938 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.01205, allocations: 27.92 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.01249, allocations: 327.6 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.01259, allocations: 47.05 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.01262, allocations: 23.67 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.01264, allocations: 0 / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.01266, allocations: 37.52 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.01266, allocations: 0 / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001938/0.01285, allocations: 65.58 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.01288, allocations: 51.41 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.01585, allocations: 181.8 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.01586, allocations: 29.7 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.01592, allocations: 142.8 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.01594, allocations: 19.88 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.01598, allocations: 23.38 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01611, allocations: 0.4961 MB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.01614, allocations: 8 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.01616, allocations: 4 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.322e-05/0.01622, allocations: 35.98 kB / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01622, allocations: 0 / 277.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001048/0.01633, allocations: 57.64 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01634, allocations: 8 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01635, allocations: 0 / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01636, allocations: 0 / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.01646, allocations: 19.98 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.01646, allocations: 0 / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.0165, allocations: 11.92 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01651, allocations: 4 kB / 277.7 MB, free: 12.24 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.885e-05/0.01658, allocations: 156.5 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.0166, allocations: 11.95 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.01675, allocations: 73.72 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01675, allocations: 0 / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01675, allocations: 0 / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01676, allocations: 7.938 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01691, allocations: 144.5 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01691, allocations: 0 / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.01698, allocations: 15.98 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01698, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.01699, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01699, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01699, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.01715, allocations: 215.8 kB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.01716, allocations: 12.12 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.01718, allocations: 7.984 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.01725, allocations: 8 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.01727, allocations: 11.98 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.01728, allocations: 0 / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.01733, allocations: 131.2 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01733, allocations: 0 / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00025/0.01758, allocations: 16 kB / 278.5 MB, free: 11.38 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 9.416e-05/0.01767, allocations: 91.19 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.0178, allocations: 35.61 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0178, allocations: 8 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.01784, allocations: 23.67 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01809, allocations: 7.938 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.01842, allocations: 173.9 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.01847, allocations: 59.34 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01851, allocations: 8 kB / 278.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.01855, allocations: 16.48 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01855, allocations: 0 / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.007114/0.02566, allocations: 0.7865 MB / 279.7 MB, free: 10.12 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.904785390943289]