Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001879/0.001878, allocations: 181.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.694/3.694, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.005709/0.005709, allocations: 84.42 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.004738/0.004738, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6521, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.8375, allocations: 76.2 MB / 451.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/0.838, allocations: 71.97 kB / 452 MB, free: 4.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.8509, allocations: 1.7 MB / 453.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.851, allocations: 0 / 453.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.851, allocations: 4.188 kB / 453.7 MB, free: 2.656 MB / 330.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.000574/0.8516, allocations: 379.1 kB / 454.1 MB, free: 2.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.8517, allocations: 8.031 kB / 454.1 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.8522, allocations: 56.8 kB / 454.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.8524, allocations: 176.2 kB / 454.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.8525, allocations: 4.375 kB / 454.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.8526, allocations: 4.375 kB / 454.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.853, allocations: 96.83 kB / 454.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.853, allocations: 192 / 454.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.8531, allocations: 3.938 kB / 454.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.8531, allocations: 4 kB / 454.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.8535, allocations: 87.88 kB / 454.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/0.8544, allocations: 368.6 kB / 454.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.8548, allocations: 82.48 kB / 454.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.855, allocations: 40.95 kB / 455 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.8551, allocations: 3.938 kB / 455 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.8551, allocations: 38.56 kB / 455 MB, free: 1.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.355e-06/0.8551, allocations: 0 / 455 MB, free: 1.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007332/0.8559, allocations: 141.5 kB / 455.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.856, allocations: 55.41 kB / 455.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.8561, allocations: 122.1 kB / 455.3 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.8562, allocations: 25.7 kB / 455.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.8563, allocations: 96.05 kB / 455.5 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.8563, allocations: 19.73 kB / 455.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.8563, allocations: 0 / 455.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.004217/0.8606, allocations: 322.8 kB / 455.8 MB, free: 360 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.8609, allocations: 35.97 kB / 455.8 MB, free: 324 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.8611, allocations: 28.23 kB / 455.9 MB, free: 296 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.8615, allocations: 76.94 kB / 455.9 MB, free: 216 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8615, allocations: 0 / 455.9 MB, free: 216 kB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000464/0.862, allocations: 113.5 kB / 456 MB, free: 96 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.862, allocations: 4 kB / 456 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8621, allocations: 0 / 456 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.8621, allocations: 0 / 456 MB, free: 92 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.8624, allocations: 23.97 kB / 456.1 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8624, allocations: 0 / 456.1 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.8626, allocations: 23.92 kB / 456.1 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.8626, allocations: 4 kB / 456.1 MB, free: 40 kB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.8628, allocations: 109.8 kB / 456.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.8628, allocations: 7.906 kB / 456.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.8634, allocations: 133.5 kB / 456.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.8634, allocations: 0 / 456.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8635, allocations: 0 / 456.3 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8635, allocations: 3.938 kB / 456.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.8638, allocations: 189.6 kB / 456.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8638, allocations: 0 / 456.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.864, allocations: 31.98 kB / 456.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8641, allocations: 0 / 456.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.8641, allocations: 0 / 456.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.8641, allocations: 0 / 456.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.8641, allocations: 0 / 456.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.8646, allocations: 219.3 kB / 456.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.8647, allocations: 81.23 kB / 456.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.8648, allocations: 7.938 kB / 456.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.865, allocations: 15.98 kB / 456.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.865, allocations: 7.984 kB / 456.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.8651, allocations: 7.938 kB / 456.9 MB, free: 15.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.313e-05/0.8652, allocations: 98.39 kB / 457 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8652, allocations: 0 / 457 MB, free: 15.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.8656, allocations: 15.91 kB / 457 MB, free: 15.03 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.8658, allocations: 95.25 kB / 457.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004632/0.8663, allocations: 75.95 kB / 457.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8663, allocations: 0 / 457.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.8665, allocations: 43.91 kB / 457.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.8671, allocations: 8 kB / 457.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009102/0.868, allocations: 249.1 kB / 457.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.8684, allocations: 0.6965 MB / 458.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.8685, allocations: 15.42 kB / 458.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.8685, allocations: 0 / 458.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of Templates: time 0.00784/0.8763, allocations: 0.9565 MB / 459.1 MB, free: 12.85 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches