Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2707, allocations: 50.55 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002583/0.2734, allocations: 1.595 MB / 411.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.2743, allocations: 0.5611 MB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.2744, allocations: 0 / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.2745, allocations: 7.875 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.2745, allocations: 11.88 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.2748, allocations: 47.81 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.2749, allocations: 47.86 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.275, allocations: 27.98 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.2751, allocations: 19.92 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.267e-05/0.2751, allocations: 31.78 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2752, allocations: 8 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.2754, allocations: 51.89 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.2754, allocations: 8 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.2755, allocations: 31.78 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.2756, allocations: 87.7 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2756, allocations: 7.938 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2756, allocations: 4 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2757, allocations: 0 / 412.5 MB, free: 14.98 MB / 334.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.0004507/0.2761, allocations: 372.4 kB / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2762, allocations: 8.031 kB / 412.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.2766, allocations: 52.78 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2767, allocations: 172.2 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.2768, allocations: 8.375 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.2768, allocations: 8.375 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.277, allocations: 85.95 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.277, allocations: 3.984 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2771, allocations: 4 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2771, allocations: 4 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.2773, allocations: 71.88 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.2778, allocations: 352.6 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.278, allocations: 74.47 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2782, allocations: 36.95 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2782, allocations: 4 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.2782, allocations: 30.56 kB / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2782, allocations: 0 / 413.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004053/0.2786, allocations: 129.5 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.2787, allocations: 51.41 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2788, allocations: 130 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2788, allocations: 25.7 kB / 414.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.2788, allocations: 96.03 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.2789, allocations: 15.75 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.2789, allocations: 25.7 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.279, allocations: 310.8 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.2791, allocations: 31.97 kB / 414.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.2792, allocations: 27.98 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2794, allocations: 57.19 kB / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2794, allocations: 0 / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002355/0.2797, allocations: 101.5 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2797, allocations: 4 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2797, allocations: 4 kB / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2797, allocations: 0 / 414.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.2798, allocations: 23.97 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2799, allocations: 3.938 kB / 414.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.2799, allocations: 11.98 kB / 414.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.28, allocations: 0 / 414.8 MB, free: 12.47 MB / 334.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.125e-05/0.28, allocations: 117.8 kB / 414.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.2801, allocations: 7.906 kB / 414.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.2804, allocations: 117.5 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2804, allocations: 4 kB / 415 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2804, allocations: 3.938 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2804, allocations: 0 / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.2806, allocations: 189.6 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2806, allocations: 0 / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2807, allocations: 23.98 kB / 415.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2807, allocations: 4 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2808, allocations: 0 / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2808, allocations: 0 / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2808, allocations: 3.938 kB / 415.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.281, allocations: 195.4 kB / 415.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.2811, allocations: 81.02 kB / 415.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2811, allocations: 11.94 kB / 415.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2812, allocations: 8.172 kB / 415.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.2813, allocations: 19.92 kB / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2813, allocations: 3.938 kB / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.2813, allocations: 98.89 kB / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2813, allocations: 0 / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.2816, allocations: 8 kB / 415.6 MB, free: 11.49 MB / 334.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.743e-05/0.2817, allocations: 99.25 kB / 415.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.2819, allocations: 63.95 kB / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2819, allocations: 0 / 415.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.282, allocations: 35.91 kB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.2823, allocations: 8 kB / 415.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.2827, allocations: 219.3 kB / 416.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.283, allocations: 0.6885 MB / 416.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.283, allocations: 11.44 kB / 416.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.283, allocations: 0 / 416.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Templates: time 0.002313/0.2853, allocations: 0.9707 MB / 417.7 MB, free: 9.336 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches