Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008845, allocations: 105.4 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008128/0.0008128, allocations: 43.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3633, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002249/0.3656, allocations: 1.625 MB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.3663, allocations: 0.5183 MB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.3664, allocations: 4 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.3664, allocations: 10.92 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.3665, allocations: 3.938 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3667, allocations: 39.89 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.3668, allocations: 51.86 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3669, allocations: 21.39 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.367, allocations: 11.94 kB / 401.8 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.367, allocations: 35.75 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3671, allocations: 7.938 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3672, allocations: 43.89 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.3672, allocations: 4 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.3673, allocations: 31.8 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3674, allocations: 75.77 kB / 402 MB, free: 30.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3674, allocations: 0 / 402 MB, free: 30.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3674, allocations: 0 / 402 MB, free: 30.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3674, allocations: 0 / 402 MB, free: 30.88 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.0003695/0.3678, allocations: 376.9 kB / 402.3 MB, free: 30.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3679, allocations: 11.97 kB / 402.3 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.3682, allocations: 44.8 kB / 402.4 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.3683, allocations: 176.2 kB / 402.5 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.3683, allocations: 8.375 kB / 402.6 MB, free: 30.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3683, allocations: 12.06 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3685, allocations: 88.89 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3686, allocations: 4 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3686, allocations: 0 / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3686, allocations: 0 / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3688, allocations: 67.95 kB / 402.7 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.3693, allocations: 360.4 kB / 403.1 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3695, allocations: 70.53 kB / 403.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.3696, allocations: 32.95 kB / 403.2 MB, free: 29.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.3696, allocations: 4 kB / 403.2 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.3696, allocations: 38.56 kB / 403.2 MB, free: 29.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.3696, allocations: 0 / 403.2 MB, free: 29.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003656/0.37, allocations: 121.5 kB / 403.3 MB, free: 29.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.37, allocations: 51.41 kB / 403.4 MB, free: 29.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.3701, allocations: 118.1 kB / 403.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3701, allocations: 25.7 kB / 403.5 MB, free: 29.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.3701, allocations: 104 kB / 403.6 MB, free: 29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.3702, allocations: 15.75 kB / 403.6 MB, free: 28.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.3702, allocations: 21.7 kB / 403.7 MB, free: 28.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.3702, allocations: 314.8 kB / 404 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.3703, allocations: 27.97 kB / 404 MB, free: 28.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.3704, allocations: 27.98 kB / 404 MB, free: 28.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3706, allocations: 61.12 kB / 404.1 MB, free: 28.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3706, allocations: 4 kB / 404.1 MB, free: 28.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001966/0.3708, allocations: 97.56 kB / 404.2 MB, free: 28.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3708, allocations: 4 kB / 404.2 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3708, allocations: 0 / 404.2 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3708, allocations: 7.938 kB / 404.2 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.371, allocations: 19.97 kB / 404.2 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.371, allocations: 15.86 kB / 404.2 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.3711, allocations: 8 kB / 404.2 MB, free: 28.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3711, allocations: 3.984 kB / 404.2 MB, free: 28.36 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.28e-05/0.3712, allocations: 117.8 kB / 404.4 MB, free: 28.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3712, allocations: 7.844 kB / 404.4 MB, free: 28.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.3715, allocations: 109.6 kB / 404.5 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3715, allocations: 7.922 kB / 404.5 MB, free: 28.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3715, allocations: 4 kB / 404.5 MB, free: 28.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3715, allocations: 3.984 kB / 404.5 MB, free: 28.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3716, allocations: 185.6 kB / 404.7 MB, free: 27.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3716, allocations: 0 / 404.7 MB, free: 27.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.3717, allocations: 19.97 kB / 404.7 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3718, allocations: 4 kB / 404.7 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3718, allocations: 0 / 404.7 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3718, allocations: 3.938 kB / 404.7 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3718, allocations: 4 kB / 404.7 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.3722, allocations: 0.7784 MB / 405.5 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.3723, allocations: 81.23 kB / 405.6 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3723, allocations: 19.94 kB / 405.6 MB, free: 26.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.3724, allocations: 7.984 kB / 405.6 MB, free: 26.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.3724, allocations: 4 kB / 405.6 MB, free: 26.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3724, allocations: 3.984 kB / 405.6 MB, free: 26.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.3725, allocations: 95.27 kB / 405.7 MB, free: 26.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3725, allocations: 0 / 405.7 MB, free: 26.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000306/0.3728, allocations: 15.91 kB / 405.7 MB, free: 26.76 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 7.981e-05/0.3729, allocations: 99.25 kB / 405.8 MB, free: 26.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3731, allocations: 59.95 kB / 405.9 MB, free: 26.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3731, allocations: 0 / 405.9 MB, free: 26.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.3732, allocations: 39.91 kB / 405.9 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3735, allocations: 7.938 kB / 405.9 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.374, allocations: 333.9 kB / 406.2 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3741, allocations: 0.6887 MB / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.3742, allocations: 8 kB / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.3742, allocations: 11.44 kB / 406.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3742, allocations: 0 / 406.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of Templates: time 0.002455/0.3767, allocations: 0.744 MB / 407.7 MB, free: 24.71 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches