Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.155/2.155, allocations: 230.6 MB / 258.2 MB, free: 7.738 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3789, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.004276/0.3832, allocations: 1.58 MB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3847, allocations: 0.5377 MB / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.3847, allocations: 0 / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.3848, allocations: 7.875 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3849, allocations: 11.88 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.3853, allocations: 55.81 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3854, allocations: 55.84 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3856, allocations: 19.98 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.3856, allocations: 23.88 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.3857, allocations: 31.78 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3857, allocations: 4 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.386, allocations: 47.95 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.3861, allocations: 15.94 kB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.3861, allocations: 19.86 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3863, allocations: 90.58 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3863, allocations: 0 / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3864, allocations: 4 kB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3864, allocations: 0 / 434.8 MB, free: 4.207 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.0006042/0.387, allocations: 305.7 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.387, allocations: 8.031 kB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006898/0.3877, allocations: 48.83 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3878, allocations: 122.4 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3879, allocations: 384 / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3879, allocations: 12.38 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.3882, allocations: 89.95 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3882, allocations: 7.938 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3883, allocations: 4 kB / 435.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3883, allocations: 0 / 435.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.3886, allocations: 63.94 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.3894, allocations: 288.2 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.3897, allocations: 70.53 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.3898, allocations: 28.97 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3898, allocations: 4 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.3899, allocations: 34.55 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3899, allocations: 0 / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006186/0.3905, allocations: 117.6 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3906, allocations: 59.39 kB / 436.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3907, allocations: 121.7 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.3907, allocations: 25.7 kB / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.3908, allocations: 104 kB / 436.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.3908, allocations: 19.84 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-05/0.3909, allocations: 17.72 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3911, allocations: 318.8 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3913, allocations: 31.98 kB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3914, allocations: 27.97 kB / 436.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3917, allocations: 61.19 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3917, allocations: 0 / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003681/0.392, allocations: 97.55 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3921, allocations: 4 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3921, allocations: 4 kB / 436.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.3921, allocations: 4 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3923, allocations: 19.92 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3923, allocations: 0 / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3924, allocations: 15.92 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3924, allocations: 0 / 436.9 MB, free: 1.945 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.0001265/0.3926, allocations: 117.8 kB / 437 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.3926, allocations: 7.953 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.3931, allocations: 113.6 kB / 437.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3931, allocations: 3.984 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3931, allocations: 0 / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3931, allocations: 3.938 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.3933, allocations: 125.3 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3933, allocations: 0 / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.3935, allocations: 19.97 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.3935, allocations: 4 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3935, allocations: 4 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3935, allocations: 0 / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3935, allocations: 0 / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.394, allocations: 203.3 kB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.394, allocations: 4.172 kB / 437.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.394, allocations: 8 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3942, allocations: 7.984 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3943, allocations: 8 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3943, allocations: 4 kB / 437.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.3944, allocations: 91.27 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3944, allocations: 0 / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.01649/0.4109, allocations: 23.83 kB / 437.7 MB, free: 1.145 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.0001555/0.411, allocations: 87.25 kB / 437.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.4115, allocations: 67.94 kB / 437.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4115, allocations: 3.938 kB / 437.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4117, allocations: 43.91 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.4122, allocations: 4 kB / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.4129, allocations: 181.6 kB / 438 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.413, allocations: 82.52 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.184e-05/0.4131, allocations: 11.98 kB / 438.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.4131, allocations: 7.438 kB / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4131, allocations: 0 / 438.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of Templates: time 0.004433/0.4176, allocations: 0.8052 MB / 438.9 MB, free: 15.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.429888129001483]