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.005936/0.005942, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.868/3.868, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001807/0.001807, allocations: 98.03 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006862/0.0006865, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6049, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003018/0.608, allocations: 1.27 MB / 375.8 MB, free: 44.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.6139, allocations: 0.5239 MB / 376.3 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.6141, allocations: 1.031 kB / 376.3 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.6142, allocations: 7.922 kB / 376.3 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.6143, allocations: 9.109 kB / 376.3 MB, free: 44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.6147, allocations: 42.39 kB / 376.4 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.6149, allocations: 28.94 kB / 376.4 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.615, allocations: 13.03 kB / 376.4 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.6151, allocations: 21.62 kB / 376.4 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.6152, allocations: 20.39 kB / 376.5 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.6153, allocations: 2.406 kB / 376.5 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.6156, allocations: 38.31 kB / 376.5 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.6156, allocations: 17.84 kB / 376.5 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.6157, allocations: 33.08 kB / 376.5 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.6159, allocations: 47.81 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6159, allocations: 0 / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6159, allocations: 1 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.6159, allocations: 0 / 376.6 MB, free: 43.82 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.000589/0.6166, allocations: 373.2 kB / 377 MB, free: 43.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.6166, allocations: 8.469 kB / 377 MB, free: 43.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008624/0.6175, allocations: 52.36 kB / 377 MB, free: 43.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.6177, allocations: 175.5 kB / 377.2 MB, free: 43.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.6178, allocations: 10.11 kB / 377.2 MB, free: 43.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.6179, allocations: 8.406 kB / 377.2 MB, free: 43.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.6184, allocations: 90.23 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6184, allocations: 3.984 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.6185, allocations: 5.156 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.6185, allocations: 1.156 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.619, allocations: 84.28 kB / 377.4 MB, free: 43.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.6202, allocations: 354 kB / 377.7 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.6207, allocations: 84 kB / 377.8 MB, free: 42.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.6208, allocations: 4.125 kB / 377.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.6208, allocations: 31.97 kB / 377.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.863e-06/0.6209, allocations: 0 / 377.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000999/0.6219, allocations: 134.1 kB / 378 MB, free: 42.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.622, allocations: 52.72 kB / 378 MB, free: 42.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6221, allocations: 133.1 kB / 378.2 MB, free: 42.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6222, allocations: 30.67 kB / 378.2 MB, free: 42.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.6223, allocations: 163.8 kB / 378.4 MB, free: 42.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.6223, allocations: 22.48 kB / 378.4 MB, free: 42.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.6224, allocations: 0 / 378.4 MB, free: 42.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.6225, allocations: 316.1 kB / 378.7 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.6227, allocations: 36.56 kB / 378.7 MB, free: 41.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.623, allocations: 28.48 kB / 378.7 MB, free: 41.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6233, allocations: 31.7 kB / 378.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6233, allocations: 1.156 kB / 378.8 MB, free: 41.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006131/0.6239, allocations: 104 kB / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.624, allocations: 5.125 kB / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.624, allocations: 1.344 kB / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.6241, allocations: 0 / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.6244, allocations: 23.08 kB / 378.9 MB, free: 41.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6245, allocations: 5.375 kB / 378.9 MB, free: 41.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.6247, allocations: 17.06 kB / 378.9 MB, free: 41.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.6248, allocations: 5.938 kB / 378.9 MB, free: 41.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.6249, allocations: 112 kB / 379 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.625, allocations: 6.906 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007377/0.6257, allocations: 124.8 kB / 379.2 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.6258, allocations: 1.25 kB / 379.2 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6258, allocations: 3.938 kB / 379.2 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6258, allocations: 4 kB / 379.2 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.6262, allocations: 198.7 kB / 379.4 MB, free: 41.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.6262, allocations: 1.25 kB / 379.4 MB, free: 41.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6266, allocations: 24.17 kB / 379.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.6266, allocations: 0 / 379.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.6266, allocations: 5.188 kB / 379.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6267, allocations: 0 / 379.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6267, allocations: 1.219 kB / 379.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.6274, allocations: 212.9 kB / 379.6 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.6274, allocations: 82.33 kB / 379.7 MB, free: 41.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.6275, allocations: 0 / 379.7 MB, free: 41.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.6278, allocations: 17.2 kB / 379.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.6279, allocations: 6.328 kB / 379.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.6279, allocations: 1.062 kB / 379.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.628, allocations: 97.48 kB / 379.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.628, allocations: 1.312 kB / 379.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005574/0.6286, allocations: 8.562 kB / 379.8 MB, free: 40.93 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 (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.0001425/0.6288, allocations: 95.78 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007183/0.6295, allocations: 77.39 kB / 380 MB, free: 40.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6295, allocations: 0 / 380 MB, free: 40.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.6299, allocations: 47.16 kB / 380 MB, free: 40.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.6303, allocations: 10.2 kB / 380.1 MB, free: 40.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.6313, allocations: 246.9 kB / 380.3 MB, free: 40.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.6316, allocations: 0.6915 MB / 381 MB, free: 39.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6317, allocations: 14.17 kB / 381 MB, free: 39.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6317, allocations: 5.094 kB / 381 MB, free: 39.85 MB / 298.7 MB Notification: Performance of Templates: time 0.005154/0.6369, allocations: 0.9598 MB / 382 MB, free: 39.37 MB / 298.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