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.001046/0.001046, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.001388/0.001388, allocations: 150.3 kB / 24.81 MB, free: 9.285 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.9952/0.9952, allocations: 173.3 MB / 201.4 MB, free: 9.188 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 1.723e-06/1.723e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.534e-05, allocations: 2.312 kB / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002133/0.002148, allocations: 1.603 MB / 270 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.002957, allocations: 0.5064 MB / 270.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.00302, allocations: 4 kB / 270.5 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.003056, allocations: 7.875 kB / 270.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.003153, allocations: 15.86 kB / 270.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.003402, allocations: 43.83 kB / 270.6 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.003488, allocations: 55.78 kB / 270.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.003601, allocations: 11.98 kB / 270.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.00366, allocations: 31.91 kB / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.003713, allocations: 11.98 kB / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.003733, allocations: 8 kB / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.003894, allocations: 47.83 kB / 270.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.003916, allocations: 11.98 kB / 270.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.003935, allocations: 15.94 kB / 270.8 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004077, allocations: 75.7 kB / 270.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004079, allocations: 0 / 270.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00408, allocations: 4 kB / 270.9 MB, free: 3.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.004085, allocations: 0 / 270.9 MB, free: 3.707 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.0003544/0.004439, allocations: 404.2 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.004479, allocations: 12.92 kB / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.00471, allocations: 48.84 kB / 271.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.004794, allocations: 124.5 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.00481, allocations: 4.375 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-06/0.004819, allocations: 8.375 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.004944, allocations: 78.48 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.00495, allocations: 0 / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004959, allocations: 11.97 kB / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004964, allocations: 0 / 271.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.005003, allocations: 19.36 kB / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.005331, allocations: 304.1 kB / 271.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.769e-05/0.005399, allocations: 51.05 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.005422, allocations: 15.67 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.005439, allocations: 4 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.005458, allocations: 37.33 kB / 272 MB, free: 2.488 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.005459, allocations: 0 / 272 MB, free: 2.488 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001362/0.005595, allocations: 53.81 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.005619, allocations: 51.41 kB / 272.1 MB, free: 2.367 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.005691, allocations: 181.9 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.005703, allocations: 25.7 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.005752, allocations: 150.7 kB / 272.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.005772, allocations: 15.89 kB / 272.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.005804, allocations: 31.36 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.005931, allocations: 0.4883 MB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.005946, allocations: 4 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.00596, allocations: 4 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.006002, allocations: 43.91 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006004, allocations: 0 / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.463e-05/0.006078, allocations: 53.64 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.006091, allocations: 4 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.006095, allocations: 0 / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.006107, allocations: 8 kB / 273.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.006184, allocations: 11.98 kB / 273.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006187, allocations: 0 / 273.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.006217, allocations: 11.94 kB / 273.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.006223, allocations: 3.938 kB / 273.1 MB, free: 1.281 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 7.036e-05/0.006293, allocations: 168.5 kB / 273.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.006308, allocations: 3.953 kB / 273.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.006418, allocations: 65.8 kB / 273.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.00642, allocations: 4 kB / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.006422, allocations: 0 / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.006425, allocations: 0 / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.00654, allocations: 117.2 kB / 273.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.006542, allocations: 0 / 273.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.006589, allocations: 15.98 kB / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006591, allocations: 0 / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.006599, allocations: 7.984 kB / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.0066, allocations: 0 / 273.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006601, allocations: 3.938 kB / 273.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.006722, allocations: 212 kB / 273.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.006732, allocations: 8 kB / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.006743, allocations: 0 / 273.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.006784, allocations: 7.984 kB / 273.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.006815, allocations: 4 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.00682, allocations: 4 kB / 273.7 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.00687, allocations: 135.2 kB / 273.8 MB, free: 484 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00687, allocations: 0 / 273.8 MB, free: 484 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000142/0.007012, allocations: 11.95 kB / 273.8 MB, free: 472 kB / 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 8.975e-05/0.007102, allocations: 99.23 kB / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.007195, allocations: 39.55 kB / 274 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007197, allocations: 0 / 274 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.00722, allocations: 15.69 kB / 274 MB, free: 300 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.007398, allocations: 18.58 kB / 274 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.007668, allocations: 181.8 kB / 274.2 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.007715, allocations: 55.36 kB / 274.2 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.007744, allocations: 11.98 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.007803, allocations: 74.2 kB / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007804, allocations: 0 / 274.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of Templates: time 0.002417/0.01022, allocations: 0.8779 MB / 275.2 MB, free: 15.04 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] 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","",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.5908423881046474]