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.0009953/0.0009953, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001022/0.001022, allocations: 160.5 kB / 24.55 MB, free: 20 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.054/1.054, allocations: 177 MB / 204.8 MB, free: 5.582 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.753e-06/1.753e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.559e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002435/0.00247, allocations: 1.629 MB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.003318, allocations: 0.5569 MB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.003375, allocations: 0 / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.003419, allocations: 3.938 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.003503, allocations: 11.88 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.00381, allocations: 59.75 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.054e-05/0.003901, allocations: 55.77 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.00405, allocations: 12 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.004105, allocations: 31.91 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.004162, allocations: 19.91 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.004184, allocations: 8 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.004423, allocations: 51.88 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.004441, allocations: 11.94 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.004469, allocations: 15.98 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.004635, allocations: 79.72 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.004638, allocations: 0 / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.00464, allocations: 3.938 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.004645, allocations: 0 / 275.4 MB, free: 14.88 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.0004382/0.005084, allocations: 400.3 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.005134, allocations: 15.98 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/0.005455, allocations: 60.78 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.005558, allocations: 124.4 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.005576, allocations: 4.375 kB / 276 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.005593, allocations: 8.375 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.005778, allocations: 90.55 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.005788, allocations: 192 / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.0058, allocations: 384 / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.005811, allocations: 3.938 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.108e-05/0.005872, allocations: 31.97 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.006349, allocations: 327.6 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.006457, allocations: 51.03 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.006492, allocations: 19.75 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.00651, allocations: 4 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.006531, allocations: 33.39 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.006533, allocations: 0 / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.006743, allocations: 69.62 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.006774, allocations: 51.41 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.006855, allocations: 169.9 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.006866, allocations: 29.7 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.006919, allocations: 150.8 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.006945, allocations: 19.83 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.006982, allocations: 31.3 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.007093, allocations: 0.4883 MB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.007124, allocations: 11.92 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.007144, allocations: 8 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.24e-05/0.007196, allocations: 24.05 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007198, allocations: 0 / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.791e-05/0.007296, allocations: 65.64 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.007313, allocations: 11.12 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007318, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.00734, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.007443, allocations: 19.92 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.007451, allocations: 4 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.007479, allocations: 4 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.007487, allocations: 3.984 kB / 277.7 MB, free: 12.38 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 7.157e-05/0.007559, allocations: 164.5 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.007579, allocations: 7.953 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.007732, allocations: 69.8 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007734, allocations: 4 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007738, allocations: 0 / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.007743, allocations: 3.984 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.007856, allocations: 132.6 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.007858, allocations: 0 / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.007913, allocations: 19.92 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.007915, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.007924, allocations: 0 / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.007926, allocations: 3.984 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007927, allocations: 4 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.008065, allocations: 215.8 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.008074, allocations: 7.953 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.008088, allocations: 4 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.008132, allocations: 8.172 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.008154, allocations: 0 / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.00816, allocations: 8 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.997e-05/0.00825, allocations: 139.1 kB / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00825, allocations: 0 / 278.5 MB, free: 11.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.008399, allocations: 11.94 kB / 278.5 MB, free: 11.52 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 0.0001/0.008499, allocations: 103.2 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.008617, allocations: 31.67 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008618, allocations: 0 / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.008643, allocations: 23.69 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.008844, allocations: 22.39 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.00919, allocations: 165.9 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.009234, allocations: 63.34 kB / 278.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.932e-05/0.009264, allocations: 4 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.009299, allocations: 12.5 kB / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.0093, allocations: 0 / 279 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Templates: time 0.00265/0.01195, allocations: 0.7471 MB / 279.7 MB, free: 10.29 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.9714651172980666]