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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 109.4 kB / 17.7 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 188.1 kB / 18.64 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 43.92 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2349, allocations: 49.43 MB / 401.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002464/0.2374, allocations: 1.582 MB / 402.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.2382, allocations: 0.532 MB / 403.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.2383, allocations: 0 / 403.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.2383, allocations: 3.938 kB / 403.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.2384, allocations: 7.875 kB / 403.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.2386, allocations: 47.83 kB / 403.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.2387, allocations: 51.84 kB / 403.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2388, allocations: 23.98 kB / 403.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.2389, allocations: 19.92 kB / 403.6 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.2389, allocations: 31.8 kB / 403.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2389, allocations: 4 kB / 403.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.2391, allocations: 43.89 kB / 403.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.2391, allocations: 11.98 kB / 403.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2392, allocations: 23.81 kB / 403.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2393, allocations: 87.7 kB / 403.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2393, allocations: 0 / 403.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2393, allocations: 4 kB / 403.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2393, allocations: 0 / 403.8 MB, free: 6.562 MB / 318.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.0003936/0.2397, allocations: 372.6 kB / 404.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.2398, allocations: 8.031 kB / 404.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.2401, allocations: 44.8 kB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2402, allocations: 176.2 kB / 404.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.2403, allocations: 8.375 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2403, allocations: 11.94 kB / 404.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.2405, allocations: 89.62 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2405, allocations: 0 / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2406, allocations: 0 / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2406, allocations: 0 / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.2408, allocations: 79.88 kB / 404.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.2413, allocations: 348.6 kB / 404.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.2415, allocations: 74.47 kB / 405 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.2416, allocations: 32.97 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2416, allocations: 0 / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2417, allocations: 42.55 kB / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.2417, allocations: 0 / 405.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003899/0.2421, allocations: 121.5 kB / 405.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2421, allocations: 55.34 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.2422, allocations: 128.9 kB / 405.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2422, allocations: 25.7 kB / 405.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.2423, allocations: 100 kB / 405.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2423, allocations: 23.69 kB / 405.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.2424, allocations: 17.72 kB / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.2425, allocations: 314.8 kB / 405.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.2426, allocations: 27.92 kB / 405.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.2427, allocations: 31.97 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.2428, allocations: 56.83 kB / 406 MB, free: 4.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2428, allocations: 3.984 kB / 406 MB, free: 4.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002291/0.2431, allocations: 93.56 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2431, allocations: 7.938 kB / 406.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2431, allocations: 0 / 406.1 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2431, allocations: 3.938 kB / 406.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2433, allocations: 23.98 kB / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2433, allocations: 0 / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.2434, allocations: 7.984 kB / 406.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2434, allocations: 4 kB / 406.1 MB, free: 4.055 MB / 318.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 6.946e-05/0.2435, allocations: 113.8 kB / 406.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.2435, allocations: 3.906 kB / 406.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.2438, allocations: 117.5 kB / 406.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.2438, allocations: 3.938 kB / 406.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2438, allocations: 0 / 406.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2438, allocations: 0 / 406.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.244, allocations: 197.5 kB / 406.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.244, allocations: 0.5 kB / 406.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.2441, allocations: 15.98 kB / 406.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2441, allocations: 0 / 406.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2442, allocations: 15.94 kB / 406.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2442, allocations: 4 kB / 406.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2442, allocations: 3.984 kB / 406.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.2444, allocations: 187.4 kB / 406.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2445, allocations: 85.02 kB / 406.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2445, allocations: 3.938 kB / 406.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2446, allocations: 15.98 kB / 406.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2447, allocations: 7.922 kB / 406.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2447, allocations: 8 kB / 406.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.992e-05/0.2447, allocations: 91.27 kB / 407 MB, free: 3.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.2448, allocations: 0 / 407 MB, free: 3.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.245, allocations: 15.94 kB / 407 MB, free: 3.078 MB / 318.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 8.82e-05/0.2451, allocations: 99.98 kB / 407.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.2453, allocations: 63.95 kB / 407.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2453, allocations: 0 / 407.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2454, allocations: 39.91 kB / 407.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2457, allocations: 8 kB / 407.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.2462, allocations: 215.1 kB / 407.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2464, allocations: 0.6924 MB / 408.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.2464, allocations: 15.42 kB / 408.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2464, allocations: 0 / 408.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of Templates: time 0.002174/0.2486, allocations: 0.9691 MB / 409.1 MB, free: 0.918 MB / 318.1 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/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_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches