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.001388/0.001388, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001233/0.001233, allocations: 185.2 kB / 19.33 MB, free: 3.762 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.38/1.38, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001289/0.001289, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08223/0.08353, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003035/0.08662, allocations: 1.568 MB / 377.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.08773, allocations: 0.5671 MB / 377.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.08783, allocations: 0 / 377.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.08791, allocations: 7.875 kB / 378 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.08801, allocations: 19.86 kB / 378 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.08827, allocations: 43.89 kB / 378 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.08837, allocations: 43.84 kB / 378.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.0885, allocations: 23.98 kB / 378.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.08855, allocations: 19.88 kB / 378.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.08862, allocations: 31.84 kB / 378.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.08864, allocations: 4 kB / 378.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.08884, allocations: 43.95 kB / 378.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.08887, allocations: 11.94 kB / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.08892, allocations: 31.8 kB / 378.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.08909, allocations: 79.7 kB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.08911, allocations: 0 / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08911, allocations: 0 / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.08912, allocations: 0 / 378.3 MB, free: 2.062 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.0004699/0.0896, allocations: 379.2 kB / 378.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.08965, allocations: 15.89 kB / 378.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.09007, allocations: 44.78 kB / 378.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.09021, allocations: 176.2 kB / 378.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.09025, allocations: 8.375 kB / 378.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.09027, allocations: 8.312 kB / 378.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.0905, allocations: 97.89 kB / 379 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.09052, allocations: 7.938 kB / 379 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.09054, allocations: 3.984 kB / 379 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.09056, allocations: 4 kB / 379 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.09077, allocations: 63.95 kB / 379.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.09139, allocations: 340.6 kB / 379.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.0916, allocations: 74.53 kB / 379.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.09172, allocations: 32.95 kB / 379.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.09175, allocations: 8 kB / 379.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.09177, allocations: 30.56 kB / 379.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.09178, allocations: 0 / 379.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004/0.09219, allocations: 125.5 kB / 379.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.09223, allocations: 51.41 kB / 379.7 MB, free: 452 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.09234, allocations: 126.1 kB / 379.9 MB, free: 316 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.09237, allocations: 33.7 kB / 379.9 MB, free: 276 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.09242, allocations: 95.97 kB / 380 MB, free: 176 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.09245, allocations: 15.81 kB / 380 MB, free: 160 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.0925, allocations: 21.7 kB / 380 MB, free: 132 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.172/0.2645, allocations: 314.8 kB / 380.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.2647, allocations: 24.39 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2649, allocations: 28.33 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2651, allocations: 61.23 kB / 380.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2651, allocations: 6.781 kB / 380.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000258/0.2653, allocations: 91.8 kB / 380.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2654, allocations: 5.672 kB / 380.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2654, allocations: 0 / 380.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.2654, allocations: 1.156 kB / 380.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.2656, allocations: 20.62 kB / 380.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2656, allocations: 3.75 kB / 380.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.869e-05/0.2657, allocations: 17.45 kB / 380.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2657, allocations: 2.219 kB / 380.6 MB, free: 12.78 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 7.244e-05/0.2658, allocations: 113 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.2658, allocations: 6.031 kB / 380.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.2661, allocations: 113.9 kB / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2661, allocations: 1.406 kB / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2661, allocations: 4.953 kB / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2662, allocations: 1.344 kB / 380.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2663, allocations: 191.6 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2664, allocations: 0 / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.2665, allocations: 20.86 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2665, allocations: 0.7969 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2665, allocations: 6.375 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2665, allocations: 8.234 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2665, allocations: 1.969 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.2668, allocations: 190.4 kB / 381.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.2668, allocations: 83.97 kB / 381.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2668, allocations: 1.328 kB / 381.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.267, allocations: 20.94 kB / 381.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.267, allocations: 5.453 kB / 381.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.267, allocations: 5.453 kB / 381.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.2671, allocations: 92.52 kB / 381.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2671, allocations: 1.375 kB / 381.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.2673, allocations: 14.77 kB / 381.5 MB, free: 12.14 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 9.79e-05/0.2674, allocations: 96.97 kB / 381.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.2677, allocations: 71.17 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2677, allocations: 0 / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2678, allocations: 37.81 kB / 381.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2681, allocations: 8.609 kB / 381.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.2686, allocations: 223.3 kB / 381.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2688, allocations: 0.6893 MB / 382.6 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.2688, allocations: 13.91 kB / 382.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2688, allocations: 0 / 382.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Templates: time 0.002918/0.2718, allocations: 1.001 MB / 383.6 MB, free: 11.15 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/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