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.001365/0.001365, allocations: 121.6 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3123, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003065/0.3154, allocations: 1.582 MB / 410.8 MB, free: 4 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3165, allocations: 0.561 MB / 411.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.3166, allocations: 0 / 411.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.3166, allocations: 7.875 kB / 411.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3167, allocations: 11.94 kB / 411.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.317, allocations: 55.75 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.3171, allocations: 51.84 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3172, allocations: 19.98 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.3173, allocations: 19.94 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.3173, allocations: 31.78 kB / 411.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3174, allocations: 8 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.3176, allocations: 51.89 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3176, allocations: 8 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3177, allocations: 39.78 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3178, allocations: 87.64 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3178, allocations: 4 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3178, allocations: 0 / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3179, 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.0004552/0.3183, allocations: 372.4 kB / 412.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3184, allocations: 8.031 kB / 412.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004225/0.3188, allocations: 52.8 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3189, allocations: 180.1 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.319, allocations: 8.375 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.319, allocations: 4.375 kB / 412.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.3192, allocations: 93.95 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3192, allocations: 0 / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3193, allocations: 0 / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3193, allocations: 4 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.3195, allocations: 71.95 kB / 412.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.3201, allocations: 356.5 kB / 412.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3203, allocations: 74.48 kB / 413 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.3204, allocations: 32.95 kB / 413 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3204, allocations: 4 kB / 413 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3205, allocations: 30.56 kB / 413.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3205, allocations: 0 / 413.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004167/0.3209, allocations: 125.5 kB / 413.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.321, allocations: 51.41 kB / 413.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3211, allocations: 125.5 kB / 413.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3211, allocations: 37.62 kB / 413.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.3211, allocations: 95.98 kB / 413.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.3212, allocations: 23.73 kB / 413.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3212, allocations: 13.72 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3213, allocations: 322.8 kB / 413.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.3214, allocations: 23.98 kB / 413.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.3215, allocations: 31.97 kB / 413.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3217, allocations: 52.83 kB / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3217, allocations: 0 / 413.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000223/0.3219, allocations: 101.5 kB / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.322, allocations: 4 kB / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.322, allocations: 0 / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.322, allocations: 0 / 414 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3221, allocations: 23.92 kB / 414.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.3222, allocations: 7.922 kB / 414.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.3222, allocations: 12.42 kB / 414.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3223, allocations: 0 / 414.1 MB, free: 12.53 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.746e-05/0.3223, allocations: 121.8 kB / 414.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3224, allocations: 11.84 kB / 414.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.3227, allocations: 109.6 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3227, allocations: 4 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3227, allocations: 3.938 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3227, allocations: 0 / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3229, allocations: 193.6 kB / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3229, allocations: 0 / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3231, allocations: 23.92 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3231, allocations: 0 / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3231, allocations: 3.984 kB / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3231, allocations: 0 / 414.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3231, allocations: 3.938 kB / 414.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3234, allocations: 199.4 kB / 414.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.3234, allocations: 85 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3234, allocations: 4 kB / 414.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3236, allocations: 4 kB / 414.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.3236, allocations: 11.92 kB / 414.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3236, allocations: 0 / 414.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.913e-05/0.3237, allocations: 103.2 kB / 414.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3237, allocations: 0 / 414.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3239, allocations: 15.94 kB / 415 MB, free: 11.54 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.0001065/0.324, allocations: 91.25 kB / 415.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.3243, allocations: 67.94 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3243, allocations: 0 / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.3244, allocations: 35.92 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3247, allocations: 19.97 kB / 415.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.3251, allocations: 181.7 kB / 415.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3254, allocations: 0.6885 MB / 416 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.718e-05/0.3255, allocations: 8 kB / 416 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.3255, allocations: 15.42 kB / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3255, allocations: 0 / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Templates: time 0.002996/0.3285, allocations: 0.7243 MB / 416.8 MB, free: 9.664 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