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.0008215/0.0008215, allocations: 84 kB / 21.43 MB, free: 3.129 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.003237/0.003237, allocations: 145.1 kB / 24.68 MB, free: 9.426 MB / 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 0.8378/0.8378, allocations: 173.3 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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 9.62e-07/9.62e-07, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.025e-05, allocations: 6.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001539/0.001549, allocations: 1.549 MB / 321.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005136/0.002063, allocations: 0.4987 MB / 321.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.00209, allocations: 0 / 321.7 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.002109, allocations: 11.86 kB / 321.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.002146, allocations: 11.88 kB / 321.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.002272, allocations: 43.83 kB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.002324, allocations: 51.78 kB / 321.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.002397, allocations: 31.95 kB / 321.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.002422, allocations: 23.92 kB / 321.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.888e-05/0.002451, allocations: 23.91 kB / 321.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.002461, allocations: 4 kB / 321.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.002555, allocations: 47.89 kB / 322 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.002566, allocations: 7.938 kB / 322 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.002583, allocations: 23.91 kB / 322 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.43e-05/0.002677, allocations: 83.7 kB / 322.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.00268, allocations: 3.984 kB / 322.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002681, allocations: 0 / 322.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.495e-06/0.002683, allocations: 0 / 322.1 MB, free: 3.422 MB / 282.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.0002256/0.002909, allocations: 309.9 kB / 322.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.281e-05/0.002932, allocations: 8.922 kB / 322.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.003114, allocations: 44.84 kB / 322.5 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.371e-05/0.003167, allocations: 113.7 kB / 322.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.003182, allocations: 12.34 kB / 322.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.003192, allocations: 8.375 kB / 322.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.003309, allocations: 85.72 kB / 322.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-06/0.003313, allocations: 4 kB / 322.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.00332, allocations: 4 kB / 322.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-06/0.003323, allocations: 3.938 kB / 322.7 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.003433, allocations: 67.94 kB / 322.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.003717, allocations: 276.3 kB / 323 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.003819, allocations: 70.53 kB / 323.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.003869, allocations: 28.97 kB / 323.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.003879, allocations: 8 kB / 323.1 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.003892, allocations: 30.56 kB / 323.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.003893, allocations: 0 / 323.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001972/0.00409, allocations: 121.5 kB / 323.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.004108, allocations: 55.41 kB / 323.3 MB, free: 2.066 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.004158, allocations: 121.8 kB / 323.4 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.004171, allocations: 25.7 kB / 323.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.004205, allocations: 100 kB / 323.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.004221, allocations: 15.86 kB / 323.6 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.004247, allocations: 21.7 kB / 323.6 MB, free: 1.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.004313, allocations: 314.8 kB / 323.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.818e-05/0.004361, allocations: 31.97 kB / 323.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.004403, allocations: 23.98 kB / 324 MB, free: 1.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.972e-05/0.004493, allocations: 60.81 kB / 324 MB, free: 1.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.004494, allocations: 0 / 324 MB, free: 1.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001151/0.004609, allocations: 94.03 kB / 324.1 MB, free: 1.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.004617, allocations: 7.938 kB / 324.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.00462, allocations: 4 kB / 324.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.004625, allocations: 0 / 324.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.004684, allocations: 23.97 kB / 324.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.004688, allocations: 4 kB / 324.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.00472, allocations: 19.81 kB / 324.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.004725, allocations: 4 kB / 324.2 MB, free: 1.168 MB / 282.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 4.564e-05/0.00477, allocations: 109.8 kB / 324.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.004783, allocations: 4 kB / 324.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.004943, allocations: 117.7 kB / 324.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004944, allocations: 0 / 324.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.004946, allocations: 3.938 kB / 324.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.004949, allocations: 3.938 kB / 324.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.005043, allocations: 129.3 kB / 324.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005045, allocations: 3.984 kB / 324.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.005088, allocations: 19.98 kB / 324.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005089, allocations: 0 / 324.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.005094, allocations: 0 / 324.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005094, allocations: 0 / 324.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.005095, allocations: 0 / 324.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.005243, allocations: 203.4 kB / 324.8 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-06/0.005249, allocations: 3.953 kB / 324.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.005257, allocations: 4 kB / 324.8 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.005301, allocations: 7.984 kB / 324.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.005319, allocations: 4 kB / 324.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.005322, allocations: 0 / 324.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.046e-05/0.005352, allocations: 95.27 kB / 324.9 MB, free: 416 kB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005352, allocations: 0 / 324.9 MB, free: 416 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.005488, allocations: 23.89 kB / 324.9 MB, free: 392 kB / 282.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 4.857e-05/0.005537, allocations: 91.25 kB / 325 MB, free: 292 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.005657, allocations: 68.06 kB / 325.1 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.22e-07/0.005658, allocations: 0 / 325.1 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.005708, allocations: 35.92 kB / 325.1 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.005861, allocations: 11.5 kB / 325.1 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.006128, allocations: 214.5 kB / 325.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.006171, allocations: 83.5 kB / 325.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.006199, allocations: 8.5 kB / 325.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.006199, allocations: 4 kB / 325.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of Templates: time 0.001244/0.007443, allocations: 1.01 MB / 326.4 MB, free: 14.82 MB / 298.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.025766229256988]