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.008971/0.008971, allocations: 107.4 kB / 21.98 MB, free: 5.227 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.002164/0.002164, allocations: 213.7 kB / 25.29 MB, free: 3.215 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.432/1.432, allocations: 230.6 MB / 259 MB, free: 8.043 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.001982/0.001982, allocations: 63.89 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2885, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.004503/0.293, allocations: 1.599 MB / 434.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2947, allocations: 0.5805 MB / 435.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2948, allocations: 0 / 435.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.371e-05/0.2948, allocations: 7.875 kB / 435.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.295, allocations: 19.81 kB / 435.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.2954, allocations: 55.75 kB / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.2955, allocations: 51.91 kB / 435.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2957, allocations: 20 kB / 435.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.2957, allocations: 23.86 kB / 435.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.2958, allocations: 27.84 kB / 435.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2959, allocations: 4 kB / 435.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.2962, allocations: 51.89 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.2962, allocations: 15.94 kB / 435.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.2963, allocations: 27.84 kB / 435.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.2965, allocations: 86.17 kB / 435.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2965, allocations: 0 / 435.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2965, allocations: 7.938 kB / 435.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2965, allocations: 0 / 435.7 MB, free: 4.387 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.000671/0.2972, allocations: 301.7 kB / 436 MB, free: 4.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2972, allocations: 12.03 kB / 436.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006653/0.2979, allocations: 48.83 kB / 436.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2981, allocations: 114.4 kB / 436.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2981, allocations: 8.375 kB / 436.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.2981, allocations: 8.375 kB / 436.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.2985, allocations: 96.95 kB / 436.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2985, allocations: 3.938 kB / 436.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2985, allocations: 0 / 436.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2985, allocations: 4 kB / 436.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.2988, allocations: 71.88 kB / 436.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.2998, allocations: 331.6 kB / 436.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.3001, allocations: 62.55 kB / 436.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3002, allocations: 36.95 kB / 436.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3003, allocations: 4 kB / 436.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.3003, allocations: 30.56 kB / 436.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.3003, allocations: 4 kB / 436.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006325/0.3009, allocations: 125.5 kB / 437 MB, free: 3.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.301, allocations: 51.41 kB / 437 MB, free: 2.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.3012, allocations: 126 kB / 437.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3012, allocations: 25.7 kB / 437.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.3013, allocations: 100.1 kB / 437.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.3013, allocations: 19.83 kB / 437.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.3014, allocations: 17.72 kB / 437.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3016, allocations: 318.8 kB / 437.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3018, allocations: 23.98 kB / 437.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3019, allocations: 31.97 kB / 437.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.3021, allocations: 52.83 kB / 437.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3021, allocations: 0 / 437.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003395/0.3025, allocations: 105.5 kB / 437.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3025, allocations: 4 kB / 437.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3025, allocations: 0 / 437.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3025, allocations: 8 kB / 437.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3027, allocations: 15.98 kB / 437.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3027, allocations: 3.938 kB / 437.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3028, allocations: 11.98 kB / 437.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3028, allocations: 4 kB / 437.9 MB, free: 2.066 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 0.0001222/0.3029, allocations: 109.8 kB / 438 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.303, allocations: 8.391 kB / 438 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.3034, allocations: 117.7 kB / 438.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3034, allocations: 4 kB / 438.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3034, allocations: 3.938 kB / 438.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3034, allocations: 3.984 kB / 438.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.3037, allocations: 164.6 kB / 438.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3037, allocations: 4 kB / 438.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3039, allocations: 15.98 kB / 438.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3039, allocations: 4 kB / 438.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3039, allocations: 3.984 kB / 438.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3039, allocations: 4 kB / 438.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3039, allocations: 3.938 kB / 438.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.3044, allocations: 191.4 kB / 438.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.3044, allocations: 7.953 kB / 438.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3044, allocations: 7.984 kB / 438.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3046, allocations: 12 kB / 438.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3046, allocations: 7.922 kB / 438.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.3046, allocations: 0 / 438.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.737e-05/0.3047, allocations: 95.27 kB / 438.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3047, allocations: 0 / 438.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004352/0.3052, allocations: 19.94 kB / 438.7 MB, free: 1.215 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.0001421/0.3053, allocations: 91.25 kB / 438.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.3057, allocations: 67.94 kB / 438.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3057, allocations: 0 / 438.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.3059, allocations: 31.92 kB / 438.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.3064, allocations: 15.97 kB / 438.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.307, allocations: 215.2 kB / 439.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3075, allocations: 0.6924 MB / 439.8 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.3076, allocations: 11.42 kB / 439.8 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3076, allocations: 3.938 kB / 439.8 MB, free: 28 kB / 334.1 MB Notification: Performance of Templates: time 0.003882/0.3115, allocations: 0.9625 MB / 440.7 MB, free: 15.07 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.880433921935037]