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.0009077/0.0009077, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001371/0.002278, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008547/0.0008547, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.002, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.113/1.113, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/1.217, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.894e-06/1.894e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.928e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001871/0.00189, allocations: 1.666 MB / 246.2 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.002572, allocations: 0.5771 MB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.002608, allocations: 0 / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.002634, allocations: 7.922 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.002676, allocations: 11.88 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.002797, allocations: 47.77 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.002871, allocations: 59.78 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.002965, allocations: 15.97 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.003034, allocations: 35.92 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.003083, allocations: 19.89 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003098, allocations: 4 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.003265, allocations: 51.91 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.00328, allocations: 11.94 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.003299, allocations: 15.94 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.003423, allocations: 71.69 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.003435, allocations: 0 / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.003436, allocations: 0 / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.003446, allocations: 4 kB / 247.1 MB, free: 11.7 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.0003519/0.003798, allocations: 296.2 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.003829, allocations: 8.031 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.004128, allocations: 137.9 kB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.004202, allocations: 113.7 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.004215, allocations: 4.375 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.004225, allocations: 8.375 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.004341, allocations: 78.91 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.004346, allocations: 4.188 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004353, allocations: 384 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004358, allocations: 3.938 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.004394, allocations: 15.98 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.004674, allocations: 216 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/0.004743, allocations: 42.48 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.004763, allocations: 20.86 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.004775, allocations: 4 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.004797, allocations: 34.56 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.004798, allocations: 0 / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001157/0.004913, allocations: 53.69 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.004949, allocations: 51.41 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.005006, allocations: 118.7 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.005016, allocations: 25.7 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.005047, allocations: 100 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.005068, allocations: 15.89 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.005098, allocations: 13.72 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.005172, allocations: 326.8 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.005187, allocations: 7.938 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.0052, allocations: 4 kB / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.005232, allocations: 20.84 kB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.005235, allocations: 3.938 kB / 248.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.618e-05/0.005291, allocations: 49.67 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.005303, allocations: 6.969 kB / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005307, allocations: 0 / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.005315, allocations: 0 / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.005398, allocations: 19.92 kB / 248.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005401, allocations: 8 kB / 248.9 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.005428, allocations: 11.94 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.005432, allocations: 0 / 248.9 MB, free: 9.734 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 5.428e-05/0.005487, allocations: 117.8 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.0055, allocations: 0 / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.881e-05/0.005589, allocations: 65.72 kB / 249.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.005592, allocations: 3.984 kB / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005593, allocations: 0 / 249.1 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005596, allocations: 4 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.629e-05/0.005692, allocations: 90.36 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005693, allocations: 0 / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.005743, allocations: 31.84 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.005751, allocations: 11.89 kB / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.005752, allocations: 0 / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.005756, allocations: 0 / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.005758, allocations: 4 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005759, allocations: 0 / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.67e-05/0.005846, allocations: 147.5 kB / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.005855, allocations: 0 / 249.4 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.005893, allocations: 12 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.00591, allocations: 3.984 kB / 249.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.005913, allocations: 0 / 249.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.769e-05/0.005931, allocations: 24.83 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.005931, allocations: 0 / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.006046, allocations: 12 kB / 249.4 MB, free: 9.168 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 6.957e-05/0.006116, allocations: 76.36 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.006187, allocations: 24.84 kB / 249.5 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.006195, allocations: 4 kB / 249.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.006215, allocations: 20.84 kB / 249.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.006355, allocations: 8 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.006724, allocations: 168.9 kB / 249.7 MB, free: 8.828 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.006761, allocations: 63.34 kB / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.006795, allocations: 4 kB / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.006853, allocations: 59.36 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006853, allocations: 0 / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of Templates: time 0.002269/0.009122, allocations: 0.8243 MB / 250.7 MB, free: 7.871 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5883196629583836]