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/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 3.2.3+maint.om/package.mo", uses=false) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110 kB / 18.25 MB, free: 4.898 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.001675/0.001675, allocations: 195.5 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.1 MB / 225.1 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 52.39 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.1, allocations: 46.62 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003675/0.1037, allocations: 1.568 MB / 329.5 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.105, allocations: 0.5634 MB / 330.1 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1051, allocations: 4 kB / 330.1 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.1052, allocations: 7.922 kB / 330.1 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1054, allocations: 11.88 kB / 330.1 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.1057, allocations: 39.84 kB / 330.1 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1058, allocations: 55.83 kB / 330.2 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.106, allocations: 27.92 kB / 330.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.106, allocations: 19.94 kB / 330.2 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.1061, allocations: 27.78 kB / 330.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1061, allocations: 4 kB / 330.3 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.1063, allocations: 43.95 kB / 330.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.1064, allocations: 11.94 kB / 330.3 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.1064, allocations: 31.8 kB / 330.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1066, allocations: 75.77 kB / 330.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1067, allocations: 0 / 330.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1067, allocations: 0 / 330.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1067, allocations: 0 / 330.4 MB, free: 1.961 MB / 270.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.00054/0.1072, allocations: 379.5 kB / 330.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1073, allocations: 15.89 kB / 330.8 MB, free: 1.527 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.1077, allocations: 40.8 kB / 330.9 MB, free: 1.488 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1079, allocations: 180.2 kB / 331 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.1079, allocations: 8.375 kB / 331 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.108, allocations: 4.375 kB / 331 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.1082, allocations: 93.95 kB / 331.1 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1082, allocations: 0 / 331.1 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1083, allocations: 0 / 331.1 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1083, allocations: 4 kB / 331.1 MB, free: 1.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.1085, allocations: 63.95 kB / 331.2 MB, free: 1.098 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.1092, allocations: 352.5 kB / 331.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1094, allocations: 78.41 kB / 331.6 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1095, allocations: 40.95 kB / 331.7 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1096, allocations: 4 kB / 331.7 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1096, allocations: 30.56 kB / 331.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.1096, allocations: 0 / 331.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004609/0.1101, allocations: 113.6 kB / 331.8 MB, free: 424 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1101, allocations: 51.41 kB / 331.9 MB, free: 360 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1103, allocations: 130 kB / 332 MB, free: 220 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1103, allocations: 29.7 kB / 332 MB, free: 184 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1104, allocations: 99.97 kB / 332.1 MB, free: 80 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1104, allocations: 15.72 kB / 332.1 MB, free: 64 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.1105, allocations: 17.7 kB / 332.1 MB, free: 40 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1106, allocations: 322.8 kB / 332.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1107, allocations: 23.97 kB / 332.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.1108, allocations: 31.98 kB / 332.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.111, allocations: 60.81 kB / 332.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.111, allocations: 0 / 332.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002467/0.1113, allocations: 86.09 kB / 332.7 MB, free: 15.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1113, allocations: 7.938 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1113, allocations: 4 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1114, allocations: 4 kB / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1115, allocations: 23.91 kB / 332.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1115, allocations: 7.938 kB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.1116, allocations: 15.84 kB / 332.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1116, allocations: 3.984 kB / 332.7 MB, free: 15.44 MB / 286.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 9.247e-05/0.1117, allocations: 117.8 kB / 332.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1118, allocations: 4 kB / 332.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.1121, allocations: 105.6 kB / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1121, allocations: 7.984 kB / 333 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1121, allocations: 3.938 kB / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1121, allocations: 0 / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.1124, allocations: 185.5 kB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1124, allocations: 0 / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1125, allocations: 27.91 kB / 333.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.1125, allocations: 4 kB / 333.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1125, allocations: 4 kB / 333.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1125, allocations: 3.938 kB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1126, allocations: 3.938 kB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.1129, allocations: 187.5 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.113, allocations: 85 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.113, allocations: 0 / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1131, allocations: 12 kB / 333.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.1132, allocations: 11.92 kB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1132, allocations: 0 / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.1132, allocations: 103.8 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1133, allocations: 0 / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1135, allocations: 8 kB / 333.6 MB, free: 14.48 MB / 286.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.0001296/0.1136, allocations: 95.19 kB / 333.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.1139, allocations: 80.06 kB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1139, allocations: 0 / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1141, allocations: 32.17 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1143, allocations: 20.03 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.1149, allocations: 227.1 kB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1153, allocations: 0.6885 MB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.1153, allocations: 11.44 kB / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1153, allocations: 0 / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of Templates: time 0.002991/0.1183, allocations: 0.9772 MB / 335.7 MB, free: 12.3 MB / 286.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches