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.001893/0.001893, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002419/0.002419, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.513/2.513, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5291, allocations: 50.55 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.005606/0.5348, allocations: 1.587 MB / 411.5 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.5372, allocations: 0.561 MB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.5374, allocations: 4 kB / 412.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.361e-05/0.5375, allocations: 7.922 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.5378, allocations: 11.88 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.5383, allocations: 47.83 kB / 412.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.5385, allocations: 51.84 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.5387, allocations: 19.98 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.517e-05/0.5389, allocations: 27.88 kB / 412.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.539, allocations: 35.77 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.539, allocations: 4 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.5394, allocations: 47.97 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.5395, allocations: 7.984 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.5396, allocations: 31.8 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.5399, allocations: 91.64 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5399, allocations: 0 / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5399, allocations: 0 / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.5399, allocations: 0 / 412.5 MB, free: 15.09 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.0007753/0.5407, allocations: 380.4 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.5408, allocations: 8.031 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.5416, allocations: 56.72 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.5419, allocations: 172.2 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.5419, allocations: 8.375 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.542, allocations: 4.375 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.5424, allocations: 97.89 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5424, allocations: 0 / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.5424, allocations: 4 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5425, allocations: 0 / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.5429, allocations: 75.92 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.544, allocations: 352.5 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.5443, allocations: 70.53 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.5446, allocations: 28.97 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.5446, allocations: 3.984 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.5447, allocations: 38.56 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 3.576e-06/0.5447, allocations: 4 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007888/0.5455, allocations: 121.5 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5456, allocations: 51.41 kB / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.5458, allocations: 126 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.5458, allocations: 29.64 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.546, allocations: 104 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.546, allocations: 15.75 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.5461, allocations: 17.72 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.5463, allocations: 318.8 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.5465, allocations: 23.98 kB / 414.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.5467, allocations: 27.97 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.5472, allocations: 60.81 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5472, allocations: 0 / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004839/0.5477, allocations: 101.5 kB / 414.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.5477, allocations: 4 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5477, allocations: 0 / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.5478, allocations: 4 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.548, allocations: 19.98 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5481, allocations: 8.359 kB / 414.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.5482, allocations: 8 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.5483, allocations: 3.984 kB / 414.8 MB, free: 12.57 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 0.0001548/0.5485, allocations: 117.8 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.5485, allocations: 7.906 kB / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.5491, allocations: 117.5 kB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5492, allocations: 0 / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5492, allocations: 3.938 kB / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5492, allocations: 0 / 415 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.5496, allocations: 189.6 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5496, allocations: 7.922 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.5499, allocations: 19.98 kB / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5499, allocations: 0 / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.5499, allocations: 0 / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5499, allocations: 4 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.55, allocations: 7.938 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.5505, allocations: 195.3 kB / 415.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.5506, allocations: 85.02 kB / 415.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.5507, allocations: 4 kB / 415.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.5509, allocations: 11.98 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.551, allocations: 7.938 kB / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.551, allocations: 0 / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.5511, allocations: 106.8 kB / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5512, allocations: 0 / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.5516, allocations: 8 kB / 415.6 MB, free: 11.59 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.0001898/0.5518, allocations: 95.23 kB / 415.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.5523, allocations: 71.89 kB / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5523, allocations: 0 / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.5525, allocations: 35.97 kB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.553, allocations: 4 kB / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.5538, allocations: 211.7 kB / 416.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.5543, allocations: 0.6963 MB / 416.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.5544, allocations: 15.42 kB / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5544, allocations: 0 / 416.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of Templates: time 0.004636/0.559, allocations: 0.978 MB / 417.7 MB, free: 9.43 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