Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 114.5 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 179 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 55.91 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 46.62 MB / 375.1 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003435/0.1371, allocations: 1.56 MB / 376.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1385, allocations: 0.5703 MB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.1386, allocations: 0 / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.1387, allocations: 7.875 kB / 377.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.722e-05/0.1388, allocations: 7.938 kB / 377.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1391, allocations: 47.83 kB / 377.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.1393, allocations: 43.91 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1394, allocations: 35.91 kB / 377.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.1395, allocations: 19.86 kB / 377.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1397, allocations: 27.86 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1397, allocations: 4 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.14, allocations: 43.95 kB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.14, allocations: 11.92 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.1401, allocations: 27.81 kB / 377.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1403, allocations: 83.7 kB / 377.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.1403, allocations: 0 / 377.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1403, allocations: 0 / 377.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1403, allocations: 4 kB / 377.6 MB, free: 2.051 MB / 318.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.0006522/0.141, allocations: 379.2 kB / 378 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1411, allocations: 15.89 kB / 378 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004088/0.1415, allocations: 40.8 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1417, allocations: 172.2 kB / 378.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.1417, allocations: 4.375 kB / 378.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1417, allocations: 12.31 kB / 378.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.142, allocations: 93.89 kB / 378.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.142, allocations: 3.938 kB / 378.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.142, allocations: 4 kB / 378.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1421, allocations: 4 kB / 378.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.1423, allocations: 63.94 kB / 378.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.143, allocations: 356.6 kB / 378.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.1432, allocations: 66.53 kB / 378.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1433, allocations: 32.97 kB / 378.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1433, allocations: 4 kB / 378.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1434, allocations: 34.56 kB / 378.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1434, allocations: 0 / 378.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004481/0.1438, allocations: 129.5 kB / 379 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1439, allocations: 51.41 kB / 379.1 MB, free: 444 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.144, allocations: 130 kB / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.144, allocations: 29.7 kB / 379.2 MB, free: 268 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1441, allocations: 99.98 kB / 379.3 MB, free: 164 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1441, allocations: 15.8 kB / 379.3 MB, free: 148 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1442, allocations: 17.72 kB / 379.4 MB, free: 124 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.3106/0.4548, allocations: 318.8 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.4551, allocations: 22.22 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4552, allocations: 27.5 kB / 379.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.4555, allocations: 59.17 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.4555, allocations: 2.25 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003336/0.4558, allocations: 92.33 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4559, allocations: 5.094 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4559, allocations: 2.469 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.4559, allocations: 1.281 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.4561, allocations: 19.55 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4562, allocations: 8.438 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.4563, allocations: 13.78 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4563, allocations: 2.219 kB / 379.9 MB, free: 12.75 MB / 318.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.0001172/0.4564, allocations: 112.5 kB / 380 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.4565, allocations: 6.547 kB / 380 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.4569, allocations: 114.7 kB / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4569, allocations: 0 / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4569, allocations: 6.328 kB / 380.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4569, allocations: 1.438 kB / 380.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.4572, allocations: 192.1 kB / 380.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4572, allocations: 0 / 380.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.4573, allocations: 17.92 kB / 380.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4574, allocations: 3.219 kB / 380.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4574, allocations: 2.312 kB / 380.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4574, allocations: 6.406 kB / 380.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4574, allocations: 1.375 kB / 380.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.4578, allocations: 197 kB / 380.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4578, allocations: 84.16 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.4578, allocations: 0.7656 kB / 380.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.458, allocations: 17.23 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.458, allocations: 4.25 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.4581, allocations: 6.641 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.4581, allocations: 94.2 kB / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4581, allocations: 1.406 kB / 380.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4584, allocations: 15.75 kB / 380.8 MB, free: 12.11 MB / 318.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.0001718/0.4586, allocations: 96.38 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.4589, allocations: 66 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.459, allocations: 4.125 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4591, allocations: 34.25 kB / 381 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.4595, allocations: 10.44 kB / 381 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.4601, allocations: 200.5 kB / 381.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.4603, allocations: 0.6963 MB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.4603, allocations: 3.453 kB / 381.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.4604, allocations: 11.97 kB / 381.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4604, allocations: 3.5 kB / 381.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of Templates: time 0.005084/0.4655, allocations: 0.7805 MB / 382.7 MB, free: 11.14 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches