Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001594/0.001594, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 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.001919/0.001919, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 80 kB / 378.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2872, allocations: 53.32 MB / 432.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003073/0.2903, allocations: 1.603 MB / 433.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2914, allocations: 0.5805 MB / 434.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.2915, allocations: 0 / 434.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.2915, allocations: 3.938 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.2916, allocations: 7.875 kB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2919, allocations: 55.81 kB / 434.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.292, allocations: 55.78 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2921, allocations: 19.98 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.2922, allocations: 31.8 kB / 434.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.2922, allocations: 27.86 kB / 434.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2922, allocations: 4 kB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.2925, allocations: 59.88 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.2925, allocations: 7.938 kB / 434.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2925, allocations: 27.86 kB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2927, allocations: 85.61 kB / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2927, allocations: 0 / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2927, allocations: 0 / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2927, allocations: 0 / 434.6 MB, free: 4.758 MB / 334.1 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.0005376/0.2933, allocations: 383.1 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2933, allocations: 8.031 kB / 435 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.2938, allocations: 52.83 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.294, allocations: 180.2 kB / 435.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.294, allocations: 384 / 435.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.294, allocations: 8.375 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2943, allocations: 93.95 kB / 435.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2943, allocations: 0 / 435.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2943, allocations: 8 kB / 435.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2943, allocations: 0 / 435.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.2945, allocations: 59.95 kB / 435.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.2952, allocations: 364.5 kB / 435.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.2954, allocations: 62.53 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2955, allocations: 36.95 kB / 435.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2955, allocations: 7.938 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.2955, allocations: 34.56 kB / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2956, allocations: 0 / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004465/0.296, allocations: 121.6 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.296, allocations: 51.41 kB / 436.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2962, allocations: 128.2 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2962, allocations: 29.7 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2962, allocations: 96.08 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.2963, allocations: 19.84 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.2963, allocations: 21.7 kB / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2965, allocations: 310.8 kB / 436.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.2966, allocations: 31.97 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.2967, allocations: 31.91 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2968, allocations: 61.2 kB / 436.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.2968, allocations: 4 kB / 436.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002438/0.2971, allocations: 93.59 kB / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2971, allocations: 8 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2971, allocations: 0 / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2971, allocations: 3.938 kB / 436.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.2973, allocations: 15.98 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2973, allocations: 7.938 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.2974, allocations: 15.92 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2974, allocations: 4 kB / 436.9 MB, free: 2.227 MB / 334.1 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 9.591e-05/0.2975, allocations: 109.8 kB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.2975, allocations: 7.953 kB / 437 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.2978, allocations: 113.6 kB / 437.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2978, allocations: 0 / 437.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2978, allocations: 3.938 kB / 437.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2978, allocations: 0 / 437.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.298, allocations: 197.6 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.298, allocations: 0 / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2982, allocations: 19.92 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2982, allocations: 0 / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2982, allocations: 7.938 kB / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2982, allocations: 3.984 kB / 437.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2982, allocations: 7.938 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.2985, allocations: 187.5 kB / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.2986, allocations: 85.06 kB / 437.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2986, allocations: 4.172 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2987, allocations: 12 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.2987, allocations: 19.91 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2987, allocations: 4 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.455e-05/0.2988, allocations: 91.27 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2988, allocations: 0 / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.299, allocations: 15.94 kB / 437.8 MB, free: 1.258 MB / 334.1 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.0001326/0.2992, allocations: 99.19 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.2994, allocations: 63.95 kB / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2994, allocations: 0 / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2995, allocations: 31.97 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2999, allocations: 8 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.3004, allocations: 231.1 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3007, allocations: 0.6924 MB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3008, allocations: 11.44 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3008, allocations: 0 / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of Templates: time 0.002818/0.3036, allocations: 0.9557 MB / 439.9 MB, free: 15.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.718918397091329]