Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002102/0.002102, allocations: 174.3 kB / 16.72 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000763/0.0007631, allocations: 93.28 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003313, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.001548/0.2687, allocations: 1.261 MB / 376.3 MB, free: 44.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.2695, allocations: 0.5363 MB / 376.9 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2696, allocations: 5.188 kB / 376.9 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.2696, allocations: 3.984 kB / 376.9 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.2697, allocations: 9.172 kB / 376.9 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.2699, allocations: 29.58 kB / 376.9 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.27, allocations: 46.19 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2701, allocations: 32.23 kB / 377 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.2701, allocations: 13.16 kB / 377 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.2702, allocations: 21.45 kB / 377 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.2702, allocations: 1.531 kB / 377 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.2704, allocations: 40.47 kB / 377.1 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2704, allocations: 14.11 kB / 377.1 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.2705, allocations: 46.25 kB / 377.1 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2706, allocations: 51.89 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2706, allocations: 0 / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2706, allocations: 5.219 kB / 377.2 MB, free: 43.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2706, allocations: 0 / 377.2 MB, free: 43.77 MB / 298.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.0003569/0.271, allocations: 368.6 kB / 377.6 MB, free: 43.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.271, allocations: 8.75 kB / 377.6 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.2714, allocations: 52.7 kB / 377.6 MB, free: 43.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.2715, allocations: 176.5 kB / 377.8 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.2715, allocations: 7.75 kB / 377.8 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.2715, allocations: 3.656 kB / 377.8 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.2718, allocations: 99.7 kB / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2718, allocations: 0 / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2718, allocations: 1.188 kB / 377.9 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2718, allocations: 5 kB / 377.9 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.272, allocations: 79.08 kB / 378 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.2726, allocations: 357.8 kB / 378.3 MB, free: 42.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.2728, allocations: 84.16 kB / 378.4 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2729, allocations: 42.61 kB / 378.5 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2729, allocations: 1.281 kB / 378.5 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2729, allocations: 31.66 kB / 378.5 MB, free: 42.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.273, allocations: 0 / 378.5 MB, free: 42.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004002/0.2734, allocations: 142.1 kB / 378.6 MB, free: 42.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.2734, allocations: 56.53 kB / 378.7 MB, free: 42.44 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.2735, allocations: 122 kB / 378.8 MB, free: 42.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2735, allocations: 26.61 kB / 378.8 MB, free: 42.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.2735, allocations: 103.2 kB / 378.9 MB, free: 42.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2736, allocations: 13.95 kB / 378.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.2736, allocations: 0 / 378.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.2736, allocations: 325 kB / 379.3 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.2737, allocations: 36.61 kB / 379.3 MB, free: 41.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.2738, allocations: 36.47 kB / 379.3 MB, free: 41.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.274, allocations: 69.83 kB / 379.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.274, allocations: 0 / 379.4 MB, free: 41.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002303/0.2742, allocations: 107.2 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2743, allocations: 12.69 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2743, allocations: 0 / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2743, allocations: 448 / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2744, allocations: 20.33 kB / 379.5 MB, free: 41.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2745, allocations: 7.875 kB / 379.5 MB, free: 41.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.2745, allocations: 18.39 kB / 379.6 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2746, allocations: 1.031 kB / 379.6 MB, free: 41.71 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.2746, allocations: 117 kB / 379.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.2747, allocations: 7.094 kB / 379.7 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.275, allocations: 122.8 kB / 379.8 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.275, allocations: 1.469 kB / 379.8 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.275, allocations: 3.938 kB / 379.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.275, allocations: 1.312 kB / 379.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.2751, allocations: 190.5 kB / 380 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2752, allocations: 0 / 380 MB, free: 41.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2753, allocations: 25.17 kB / 380 MB, free: 41.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2753, allocations: 3.938 kB / 380 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.2753, allocations: 5.438 kB / 380 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2753, allocations: 4 kB / 380 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2753, allocations: 3.938 kB / 380 MB, free: 41.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2756, allocations: 208.1 kB / 380.2 MB, free: 41.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.2756, allocations: 83.34 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2756, allocations: 1.25 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2757, allocations: 12.58 kB / 380.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2758, allocations: 10.42 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2758, allocations: 1.469 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.2758, allocations: 97.11 kB / 380.4 MB, free: 40.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2758, allocations: 0 / 380.4 MB, free: 40.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.276, allocations: 17.88 kB / 380.5 MB, free: 40.89 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.66e-05/0.2761, allocations: 96.5 kB / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2764, allocations: 71.48 kB / 380.6 MB, free: 40.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2764, allocations: 5.062 kB / 380.6 MB, free: 40.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.2765, allocations: 42.06 kB / 380.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2768, allocations: 11.12 kB / 380.7 MB, free: 40.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.2773, allocations: 247.9 kB / 380.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.2774, allocations: 0.6903 MB / 381.6 MB, free: 39.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.2775, allocations: 18.91 kB / 381.6 MB, free: 39.82 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2775, allocations: 0 / 381.6 MB, free: 39.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002085/0.2795, allocations: 0.9524 MB / 382.6 MB, free: 39.34 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches