Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001127/0.001127, allocations: 187 kB / 17.92 MB, free: 3.855 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.212/1.212, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.001/0.0009998, allocations: 90.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008746/0.0008748, allocations: 39.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.211, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003041/0.2141, allocations: 1.622 MB / 375.4 MB, free: 44.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.2151, allocations: 0.5777 MB / 376 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.2153, allocations: 1.094 kB / 376 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.2153, allocations: 3.938 kB / 376 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.2154, allocations: 5.875 kB / 376 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2157, allocations: 33.25 kB / 376.1 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.2158, allocations: 52.5 kB / 376.1 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2159, allocations: 23.95 kB / 376.1 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.2159, allocations: 23.17 kB / 376.2 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.216, allocations: 25.48 kB / 376.2 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.216, allocations: 3.406 kB / 376.2 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2162, allocations: 37.03 kB / 376.2 MB, free: 44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2162, allocations: 18.03 kB / 376.2 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2162, allocations: 29.34 kB / 376.3 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2164, allocations: 72.3 kB / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2164, allocations: 0 / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2164, allocations: 0 / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2164, allocations: 0 / 376.3 MB, free: 43.91 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.000398/0.2168, allocations: 385.2 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2169, allocations: 9.625 kB / 376.7 MB, free: 43.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.2172, allocations: 42.77 kB / 376.8 MB, free: 43.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.2173, allocations: 176.5 kB / 376.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2173, allocations: 6.969 kB / 376.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.2174, allocations: 5.125 kB / 376.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.2176, allocations: 89.58 kB / 377 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2176, allocations: 3.984 kB / 377 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2176, allocations: 1.25 kB / 377 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2176, allocations: 1.469 kB / 377 MB, free: 43.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.2178, allocations: 68.56 kB / 377.1 MB, free: 43.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.2184, allocations: 358.6 kB / 377.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.2186, allocations: 73.91 kB / 377.5 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.2187, allocations: 33.75 kB / 377.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2187, allocations: 5.188 kB / 377.6 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2187, allocations: 35.66 kB / 377.6 MB, free: 42.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.2187, allocations: 0 / 377.6 MB, free: 42.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003963/0.2191, allocations: 117.8 kB / 377.7 MB, free: 42.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.2192, allocations: 52.38 kB / 377.8 MB, free: 42.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.2193, allocations: 127.2 kB / 377.9 MB, free: 42.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.2193, allocations: 25.7 kB / 377.9 MB, free: 42.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.2193, allocations: 99.08 kB / 378 MB, free: 42.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2193, allocations: 14.8 kB / 378 MB, free: 42.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.2194, allocations: 21.44 kB / 378.1 MB, free: 42.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.2194, allocations: 323.9 kB / 378.4 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.2195, allocations: 23.77 kB / 378.4 MB, free: 41.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.2196, allocations: 31.5 kB / 378.4 MB, free: 41.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2198, allocations: 58.27 kB / 378.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2198, allocations: 1.031 kB / 378.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002113/0.22, allocations: 99.8 kB / 378.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.22, allocations: 4.812 kB / 378.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.22, allocations: 0 / 378.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2201, allocations: 1.188 kB / 378.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2202, allocations: 20.83 kB / 378.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2202, allocations: 3.938 kB / 378.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.2203, allocations: 15.11 kB / 378.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.2203, allocations: 1.219 kB / 378.6 MB, free: 41.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.2204, allocations: 117.2 kB / 378.7 MB, free: 41.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.2204, allocations: 6.219 kB / 378.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.2207, allocations: 105 kB / 378.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2207, allocations: 1.156 kB / 378.8 MB, free: 41.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2207, allocations: 3.938 kB / 378.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2207, allocations: 1.062 kB / 378.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2209, allocations: 198.2 kB / 379 MB, free: 41.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2209, allocations: 1.188 kB / 379 MB, free: 41.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.221, allocations: 20.7 kB / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.221, allocations: 1.062 kB / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.221, allocations: 0 / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.221, allocations: 1.062 kB / 379.1 MB, free: 41.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.221, allocations: 7.875 kB / 379.1 MB, free: 41.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.2215, allocations: 0.7834 MB / 379.9 MB, free: 40.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.2215, allocations: 87.03 kB / 379.9 MB, free: 40.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.2216, allocations: 4 kB / 379.9 MB, free: 40.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.2217, allocations: 5.969 kB / 380 MB, free: 40.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.2217, allocations: 6.141 kB / 380 MB, free: 40.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2217, allocations: 6.375 kB / 380 MB, free: 40.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.2218, allocations: 95.64 kB / 380.1 MB, free: 40.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2218, allocations: 0 / 380.1 MB, free: 40.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.2221, allocations: 17.53 kB / 380.1 MB, free: 40.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.074e-05/0.2222, allocations: 93.09 kB / 380.2 MB, free: 40.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.2224, allocations: 69.38 kB / 380.2 MB, free: 40.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2224, allocations: 4 kB / 380.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2225, allocations: 33.2 kB / 380.3 MB, free: 40.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.2228, allocations: 17.14 kB / 380.3 MB, free: 40.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.2233, allocations: 327.2 kB / 380.6 MB, free: 39.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2234, allocations: 0.6941 MB / 381.3 MB, free: 39.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.145e-05/0.2235, allocations: 11.23 kB / 381.3 MB, free: 39.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.2235, allocations: 10.5 kB / 381.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.2235, allocations: 0 / 381.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of Templates: time 0.002798/0.2263, allocations: 0.7383 MB / 382.1 MB, free: 38.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches