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.001521/0.001522, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002144/0.002144, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 55.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003093/0.374, allocations: 1.594 MB / 410.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3753, allocations: 0.5609 MB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.3753, allocations: 4 kB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.735e-05/0.3754, allocations: 7.875 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3755, allocations: 11.92 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.3759, allocations: 47.77 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.376, allocations: 51.84 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3762, allocations: 23.98 kB / 411.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.3763, allocations: 19.92 kB / 411.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.3764, allocations: 31.8 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3764, allocations: 8 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.3767, allocations: 59.88 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3767, allocations: 4 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.3768, allocations: 31.8 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.377, allocations: 83.64 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.377, allocations: 0 / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.377, allocations: 0 / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.377, allocations: 0 / 411.8 MB, free: 15.05 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.000692/0.3777, allocations: 379.1 kB / 412.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3778, allocations: 12.03 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.3782, allocations: 56.77 kB / 412.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.3784, allocations: 180.2 kB / 412.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.3785, allocations: 384 / 412.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3785, allocations: 8.375 kB / 412.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.3788, allocations: 89.95 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3788, allocations: 4 kB / 412.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3789, allocations: 8 kB / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3789, allocations: 0 / 412.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.3791, allocations: 63.94 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.3798, allocations: 352.5 kB / 412.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.38, allocations: 78.47 kB / 413 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3802, allocations: 36.95 kB / 413 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3802, allocations: 3.984 kB / 413 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3802, allocations: 34.56 kB / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3802, allocations: 0 / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004265/0.3807, allocations: 125.6 kB / 413.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3807, allocations: 51.41 kB / 413.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3808, allocations: 126 kB / 413.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3808, allocations: 25.7 kB / 413.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.3809, allocations: 100.1 kB / 413.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3809, allocations: 19.78 kB / 413.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.381, allocations: 25.7 kB / 413.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3811, allocations: 314.8 kB / 413.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.3812, allocations: 27.97 kB / 413.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.3813, allocations: 23.98 kB / 413.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3815, allocations: 60.81 kB / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3815, allocations: 0 / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.3817, allocations: 93.98 kB / 414 MB, free: 12.56 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3817, allocations: 7.984 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3818, allocations: 64 / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3818, allocations: 8 kB / 414 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3819, allocations: 19.92 kB / 414.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3819, allocations: 3.938 kB / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.382, allocations: 15.98 kB / 414.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.382, allocations: 0 / 414.1 MB, free: 12.51 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 8.133e-05/0.3821, allocations: 117.8 kB / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3821, allocations: 7.953 kB / 414.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.3825, allocations: 109.6 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3825, allocations: 4 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3825, allocations: 3.938 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3825, allocations: 0 / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.3827, allocations: 193.6 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3827, allocations: 7.938 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3828, allocations: 19.92 kB / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3828, allocations: 0 / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3829, allocations: 0 / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3829, allocations: 4 kB / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3829, allocations: 3.938 kB / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3831, allocations: 195.5 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3832, allocations: 85.06 kB / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3832, allocations: 0 / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3833, allocations: 11.98 kB / 414.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3834, allocations: 11.92 kB / 414.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.3834, allocations: 3.938 kB / 414.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.796e-05/0.3835, allocations: 102.9 kB / 414.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3835, allocations: 0 / 414.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3837, allocations: 11.94 kB / 415 MB, free: 11.53 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 0.0001485/0.3838, allocations: 103.2 kB / 415.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3842, allocations: 64.08 kB / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3842, allocations: 0 / 415.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3843, allocations: 43.91 kB / 415.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3847, allocations: 7.125 kB / 415.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005125/0.3852, allocations: 189.5 kB / 415.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3856, allocations: 0.6885 MB / 416 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.3856, allocations: 8 kB / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.3857, allocations: 11.44 kB / 416.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3857, allocations: 0 / 416.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Templates: time 0.003308/0.389, allocations: 0.7252 MB / 416.8 MB, free: 9.645 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches