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.002074/0.002074, allocations: 92.62 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002812/0.002812, allocations: 149.4 kB / 24.26 MB, free: 176 kB / 18.57 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.495/1.495, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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 4.669e-06/4.669e-06, allocations: 4 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.803e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003066/0.003104, allocations: 1.551 MB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.004224, allocations: 0.5141 MB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.004274, allocations: 3.938 kB / 269.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.997e-05/0.004314, allocations: 3.938 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.004407, allocations: 15.88 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.004672, allocations: 47.81 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.004762, allocations: 43.8 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.004876, allocations: 27.92 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.004943, allocations: 31.89 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.004999, allocations: 19.92 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.005028, allocations: 4 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.005205, allocations: 43.95 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.005228, allocations: 11.92 kB / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.005271, allocations: 12 kB / 269.7 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005462, allocations: 91.67 kB / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005465, allocations: 0 / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005466, allocations: 0 / 269.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005471, allocations: 3.938 kB / 269.8 MB, free: 4.27 MB / 250.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.0005322/0.006003, allocations: 305.9 kB / 270.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.006044, allocations: 8.922 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.006479, allocations: 52.84 kB / 270.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.006609, allocations: 117.7 kB / 270.2 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.00663, allocations: 8.375 kB / 270.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.006645, allocations: 4.375 kB / 270.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.006888, allocations: 93.02 kB / 270.3 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.006896, allocations: 4 kB / 270.3 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.00691, allocations: 0 / 270.3 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.006919, allocations: 4 kB / 270.3 MB, free: 3.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.007152, allocations: 67.89 kB / 270.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.00777, allocations: 272.3 kB / 270.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.008018, allocations: 78.47 kB / 270.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.008133, allocations: 32.97 kB / 270.8 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.008152, allocations: 0 / 270.8 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.008198, allocations: 38.55 kB / 270.8 MB, free: 3.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.008198, allocations: 0 / 270.8 MB, free: 3.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004568/0.008655, allocations: 113.6 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.008704, allocations: 59.34 kB / 271 MB, free: 2.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.008823, allocations: 125.7 kB / 271.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.008856, allocations: 29.7 kB / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.008937, allocations: 104 kB / 271.2 MB, free: 2.637 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.008965, allocations: 11.89 kB / 271.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.00901, allocations: 17.72 kB / 271.3 MB, free: 2.602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.009193, allocations: 322.8 kB / 271.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.009293, allocations: 23.92 kB / 271.6 MB, free: 2.254 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.00939, allocations: 27.97 kB / 271.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.009585, allocations: 61.2 kB / 271.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.009587, allocations: 0 / 271.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000274/0.009861, allocations: 109.5 kB / 271.8 MB, free: 2.051 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.009877, allocations: 4 kB / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009882, allocations: 0 / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.009898, allocations: 0 / 271.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01004, allocations: 19.98 kB / 271.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01005, allocations: 4 kB / 271.8 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.01014, allocations: 11.92 kB / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.01015, allocations: 4 kB / 271.8 MB, free: 2.008 MB / 250.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 9.637e-05/0.01024, allocations: 109.8 kB / 271.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.01028, allocations: 7.953 kB / 272 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.01061, allocations: 113.8 kB / 272.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01062, allocations: 0 / 272.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01062, allocations: 3.938 kB / 272.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.01063, allocations: 7.938 kB / 272.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01082, allocations: 125.2 kB / 272.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01082, allocations: 0 / 272.2 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.01094, allocations: 19.98 kB / 272.2 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01094, allocations: 0 / 272.2 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01095, allocations: 4 kB / 272.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01095, allocations: 0 / 272.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01095, allocations: 0 / 272.2 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.01129, allocations: 207.4 kB / 272.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.0113, allocations: 4 kB / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.01132, allocations: 0 / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.01143, allocations: 11.98 kB / 272.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.01147, allocations: 4.125 kB / 272.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.01148, allocations: 11.98 kB / 272.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.923e-05/0.01155, allocations: 91.28 kB / 272.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01155, allocations: 0 / 272.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.01179, allocations: 23.83 kB / 272.6 MB, free: 1.211 MB / 250.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.0001187/0.01191, allocations: 95.23 kB / 272.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01217, allocations: 60.08 kB / 272.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01217, allocations: 0 / 272.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.01229, allocations: 39.91 kB / 272.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.01259, allocations: 8 kB / 272.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.01313, allocations: 196.2 kB / 273 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.01321, allocations: 75.27 kB / 273 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.01326, allocations: 8 kB / 273 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.01331, allocations: 16.48 kB / 273.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.01331, allocations: 0 / 273.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of Templates: time 0.003788/0.0171, allocations: 0.803 MB / 273.9 MB, free: 15.87 MB / 266.7 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.315343818045221]