Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 47.92 kB / 370.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3029, allocations: 52.19 MB / 423.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002979/0.3058, allocations: 1.602 MB / 424.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009835/0.3068, allocations: 0.5337 MB / 425.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.3069, allocations: 0 / 425.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.3069, allocations: 7.922 kB / 425.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.307, allocations: 11.88 kB / 425.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3072, allocations: 47.83 kB / 425.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.3073, allocations: 47.84 kB / 425.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3075, allocations: 27.92 kB / 425.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.3075, allocations: 15.94 kB / 425.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.3076, allocations: 31.83 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3076, allocations: 4 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.3078, allocations: 43.91 kB / 425.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.3078, allocations: 15.94 kB / 425.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.3078, allocations: 27.8 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.308, allocations: 85.23 kB / 425.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.308, allocations: 4 kB / 425.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.308, allocations: 0 / 425.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.308, allocations: 4 kB / 425.6 MB, free: 12.21 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.0004818/0.3085, allocations: 305.6 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3086, allocations: 8.031 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.3089, allocations: 44.84 kB / 426 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3091, allocations: 122.4 kB / 426.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3091, allocations: 8.375 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3091, allocations: 7.938 kB / 426.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3094, allocations: 89.64 kB / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3094, allocations: 0 / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3094, allocations: 3.938 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3094, allocations: 0 / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.3096, allocations: 67.95 kB / 426.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.3103, allocations: 315.7 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.3105, allocations: 66.53 kB / 426.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3106, allocations: 32.91 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3106, allocations: 4 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3107, allocations: 42.56 kB / 426.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3107, allocations: 0 / 426.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004521/0.3111, allocations: 121.5 kB / 426.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3112, allocations: 51.41 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3113, allocations: 124.2 kB / 427 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3113, allocations: 33.7 kB / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.3114, allocations: 100 kB / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.3114, allocations: 23.84 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3115, allocations: 13.72 kB / 427.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3116, allocations: 318.8 kB / 427.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3117, allocations: 28.17 kB / 427.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3118, allocations: 35.97 kB / 427.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.312, allocations: 52.83 kB / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.312, allocations: 4 kB / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002629/0.3123, allocations: 93.64 kB / 427.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3123, allocations: 7.938 kB / 427.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3123, allocations: 0 / 427.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3123, allocations: 7.938 kB / 427.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3125, allocations: 19.98 kB / 427.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3125, allocations: 3.938 kB / 427.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.3126, allocations: 19.88 kB / 427.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3126, allocations: 0 / 427.8 MB, free: 9.891 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.0001023/0.3127, allocations: 113.8 kB / 427.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3127, allocations: 4 kB / 427.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.313, allocations: 113.6 kB / 428 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.313, allocations: 7.984 kB / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3131, allocations: 0 / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3131, allocations: 0 / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3133, allocations: 160.7 kB / 428.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3133, allocations: 0 / 428.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3134, allocations: 23.92 kB / 428.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3134, allocations: 0 / 428.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3134, allocations: 7.938 kB / 428.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3134, allocations: 4.25 kB / 428.2 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.3134, allocations: 4 kB / 428.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.3138, allocations: 199.4 kB / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.3138, allocations: 0 / 428.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3138, allocations: 7.938 kB / 428.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3139, allocations: 7.984 kB / 428.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.314, allocations: 8 kB / 428.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.314, allocations: 3.984 kB / 428.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.3141, allocations: 99.27 kB / 428.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3141, allocations: 0 / 428.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3143, allocations: 11.95 kB / 428.5 MB, free: 9.051 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.0001066/0.3144, allocations: 95.19 kB / 428.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.3147, allocations: 63.95 kB / 428.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3147, allocations: 0 / 428.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3148, allocations: 35.97 kB / 428.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3151, allocations: 11.94 kB / 428.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.3157, allocations: 193.3 kB / 428.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.316, allocations: 0.6963 MB / 429.6 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.72e-05/0.316, allocations: 7.938 kB / 429.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.3161, allocations: 15.42 kB / 429.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3161, allocations: 0 / 429.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of Templates: time 0.00365/0.3197, allocations: 0.8109 MB / 430.4 MB, free: 7.078 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.5027140863239765]